aboutsummaryrefslogtreecommitdiff
path: root/tests/valid/raw-string.json
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-04-03 00:14:03 -0700
committerAlex Crichton <alex@alexcrichton.com>2016-04-03 00:14:03 -0700
commitb25592c2386f415cbe34c1c08defce6f452e66ff (patch)
tree3a39c16c6b29780d77cd153d04d21e3ab3f1797a /tests/valid/raw-string.json
parentc53fceb42c6600983021e5fa7dca9976c36590f4 (diff)
parent8a207a83fe21da6e498697b9a0ec81932f5208e6 (diff)
downloadmilf-rs-b25592c2386f415cbe34c1c08defce6f452e66ff.tar.gz
milf-rs-b25592c2386f415cbe34c1c08defce6f452e66ff.zip
Merge pull request #92 from trlim/master
Update integration tests
Diffstat (limited to 'tests/valid/raw-string.json')
-rw-r--r--tests/valid/raw-string.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/valid/raw-string.json b/tests/valid/raw-string.json
new file mode 100644
index 0000000..693ab9b
--- /dev/null
+++ b/tests/valid/raw-string.json
@@ -0,0 +1,30 @@
+{
+ "backspace": {
+ "type": "string",
+ "value": "This string has a \\b backspace character."
+ },
+ "tab": {
+ "type": "string",
+ "value": "This string has a \\t tab character."
+ },
+ "newline": {
+ "type": "string",
+ "value": "This string has a \\n new line character."
+ },
+ "formfeed": {
+ "type": "string",
+ "value": "This string has a \\f form feed character."
+ },
+ "carriage": {
+ "type": "string",
+ "value": "This string has a \\r carriage return character."
+ },
+ "slash": {
+ "type": "string",
+ "value": "This string has a \\/ slash character."
+ },
+ "backslash": {
+ "type": "string",
+ "value": "This string has a \\\\ backslash character."
+ }
+}