aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests/valid/string-escapes.milf
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-03-21 14:10:24 -0600
committerMelody Horn <melody@boringcactus.com>2021-03-21 14:10:24 -0600
commit7bbbfd046324363c8db1fb15d39aeb02fe7331b5 (patch)
treea416bb991c23e083d0b5816dfc8b00cd1aceda78 /test-suite/tests/valid/string-escapes.milf
parentb1417006df376e6c406bff43740dd11aa7ef744e (diff)
downloadmilf-rs-main.tar.gz
milf-rs-main.zip
hilarious and original jokeHEADmain
Diffstat (limited to 'test-suite/tests/valid/string-escapes.milf')
-rw-r--r--test-suite/tests/valid/string-escapes.milf14
1 files changed, 14 insertions, 0 deletions
diff --git a/test-suite/tests/valid/string-escapes.milf b/test-suite/tests/valid/string-escapes.milf
new file mode 100644
index 0000000..152c6ad
--- /dev/null
+++ b/test-suite/tests/valid/string-escapes.milf
@@ -0,0 +1,14 @@
+backspace = "This string has a \b backspace character."
+tab = "This string has a \t tab character."
+newline = "This string has a \n new line character."
+formfeed = "This string has a \f form feed character."
+carriage = "This string has a \r carriage return character."
+quote = "This string has a \" quote character."
+slash = "This string has a / slash character."
+backslash = "This string has a \\ backslash character."
+notunicode1 = "This string does not have a unicode \\u escape."
+notunicode2 = "This string does not have a unicode \u005Cu escape."
+notunicode3 = "This string does not have a unicode \\u0075 escape."
+notunicode4 = "This string does not have a unicode \\\u0075 escape."
+delete = "This string has a \u007F delete control code."
+unitseparator = "This string has a \u001F unit separator control code."