aboutsummaryrefslogtreecommitdiff
path: root/test-suite/tests
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/tests')
-rw-r--r--test-suite/tests/parser.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test-suite/tests/parser.rs b/test-suite/tests/parser.rs
index 2282416..2534ce6 100644
--- a/test-suite/tests/parser.rs
+++ b/test-suite/tests/parser.rs
@@ -275,6 +275,10 @@ fn bad_keys() {
"\"\"|=3".parse::<Value>().unwrap_err();
"\"\n\"|=3".parse::<Value>().unwrap_err();
"\"\r\"|=3".parse::<Value>().unwrap_err();
+ "''''''=3".parse::<Value>().unwrap_err();
+ "\"\"\"\"\"\"=3".parse::<Value>().unwrap_err();
+ "'''key'''=3".parse::<Value>().unwrap_err();
+ "\"\"\"key\"\"\"=3".parse::<Value>().unwrap_err();
}
#[test]
@@ -290,6 +294,8 @@ fn bad_table_names() {
"[']".parse::<Value>().unwrap_err();
"[''']".parse::<Value>().unwrap_err();
"['''''']".parse::<Value>().unwrap_err();
+ "['''foo''']".parse::<Value>().unwrap_err();
+ "[\"\"\"bar\"\"\"]".parse::<Value>().unwrap_err();
"['\n']".parse::<Value>().unwrap_err();
"['\r\n']".parse::<Value>().unwrap_err();
}