aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests
diff options
context:
space:
mode:
authorEric Huss <eric@huss.org>2018-07-10 18:13:06 -0700
committerEric Huss <eric@huss.org>2018-07-10 18:13:06 -0700
commitc67263f359b29cb23c9bf0b1a33fcdcc50fd129d (patch)
tree849124f014fc3cde39d060e8342a09da2b2e8550 /test-suite/tests
parent2be7ce9079fa02d9dd42958410ba1c40cef9811c (diff)
downloadmilf-rs-c67263f359b29cb23c9bf0b1a33fcdcc50fd129d.tar.gz
milf-rs-c67263f359b29cb23c9bf0b1a33fcdcc50fd129d.zip
0.5: Reject 0x7f (DEL) in strings.
cc #224
Diffstat (limited to 'test-suite/tests')
-rw-r--r--test-suite/tests/invalid-misc.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/test-suite/tests/invalid-misc.rs b/test-suite/tests/invalid-misc.rs
index bb70b97..7d34651 100644
--- a/test-suite/tests/invalid-misc.rs
+++ b/test-suite/tests/invalid-misc.rs
@@ -14,4 +14,6 @@ fn bad() {
bad("a = -inf");
bad("a = inf");
bad("a = 9e99999");
+ bad("a = \"\u{7f}\"");
+ bad("a = '\u{7f}'");
}