aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-07-11 09:04:29 -0500
committerGitHub <noreply@github.com>2018-07-11 09:04:29 -0500
commit1ed9b1ddd4b596fc7aa928a372fefe9d7908326a (patch)
treebf0b971e9b87756dcb10b51c85e8ae4ed84b3efc /test-suite
parentf99ab3f5e30f2ce00de9bc15083d2671107f1fcf (diff)
parentc67263f359b29cb23c9bf0b1a33fcdcc50fd129d (diff)
downloadmilf-rs-1ed9b1ddd4b596fc7aa928a372fefe9d7908326a.tar.gz
milf-rs-1ed9b1ddd4b596fc7aa928a372fefe9d7908326a.zip
Merge pull request #250 from ehuss/reject-del
0.5: Reject 0x7f (DEL) in strings.
Diffstat (limited to 'test-suite')
-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 18edf90..218be4f 100644
--- a/test-suite/tests/invalid-misc.rs
+++ b/test-suite/tests/invalid-misc.rs
@@ -11,4 +11,6 @@ fn bad() {
bad("a = 1_");
bad("''");
bad("a = 9e99999");
+ bad("a = \"\u{7f}\"");
+ bad("a = '\u{7f}'");
}