Skip to content

Commit 07bed19

Browse files
committed
adding tests
1 parent f56983d commit 07bed19

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

testing/values.test

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,13 @@ do_execsql_test_on_specific_db {:memory:} values-between {
6060
do_execsql_test_in_memory_any_error values-illegal-column-ref {
6161
CREATE TABLE t0 (c0);
6262
INSERT INTO t0 VALUES (c0);
63-
}
63+
}
64+
65+
# Unquoted identifiers in VALUES should produce a parse error
66+
do_execsql_test_in_memory_error_content values-unquoted-identifier-single {
67+
values(asdf);
68+
} {Parse error: Unquoted identifier in VALUES clause: asdf}
69+
70+
do_execsql_test_in_memory_error_content values-unquoted-identifier-mixed {
71+
values(1, asdf);
72+
} {Parse error: Unquoted identifier in VALUES clause: asdf}

0 commit comments

Comments
 (0)