diff options
author | Eric Huss <eric@huss.org> | 2018-07-10 23:29:47 -0700 |
---|---|---|
committer | Eric Huss <eric@huss.org> | 2018-07-16 09:10:38 -0700 |
commit | 9796059c58ec315dfc9b4ed0ba37c9e9318cb3fc (patch) | |
tree | 52d4efec241a8332d5a58e498abcacf450733653 /test-suite/tests/invalid-misc.rs | |
parent | 010ae9ffde22a2ed045e8042cd05db42f4adeefa (diff) | |
download | milf-rs-9796059c58ec315dfc9b4ed0ba37c9e9318cb3fc.tar.gz milf-rs-9796059c58ec315dfc9b4ed0ba37c9e9318cb3fc.zip |
0.5: Support dotted keys.
cc #224
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\"}") } |