diff options
author | Alex Crichton <alex@alexcrichton.com> | 2018-07-28 15:15:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-28 15:15:01 -0700 |
commit | 55a11b89550fb280e3f889cc1b8c9073de6fb937 (patch) | |
tree | 98529f0dbc9c75e795e720dd37945b1e189bf450 /test-suite/tests/invalid-misc.rs | |
parent | 010ae9ffde22a2ed045e8042cd05db42f4adeefa (diff) | |
parent | d6f383d20c2dbefd9ece0834b05310dfae4e2a88 (diff) | |
download | milf-rs-55a11b89550fb280e3f889cc1b8c9073de6fb937.tar.gz milf-rs-55a11b89550fb280e3f889cc1b8c9073de6fb937.zip |
Merge pull request #252 from ehuss/dotted-keys
0.5: Support dotted keys.
Diffstat (limited to 'test-suite/tests/invalid-misc.rs')
-rw-r--r-- | test-suite/tests/invalid-misc.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/tests/invalid-misc.rs b/test-suite/tests/invalid-misc.rs index 80421e3..5c7f779 100644 --- a/test-suite/tests/invalid-misc.rs +++ b/test-suite/tests/invalid-misc.rs @@ -17,4 +17,12 @@ fn bad() { bad("a = -0x1"); bad("a = 0x-1"); + + // Dotted keys. + bad("a.b.c = 1 + a.b = 2 + "); + bad("a = 1 + a.b = 2"); + bad("a = {k1 = 1, k1.name = \"joe\"}") } |