summaryrefslogtreecommitdiff
path: root/tests/sql_indent.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sql_indent.ur')
-rw-r--r--tests/sql_indent.ur9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/sql_indent.ur b/tests/sql_indent.ur
index c4a46d71..e312dc3b 100644
--- a/tests/sql_indent.ur
+++ b/tests/sql_indent.ur
@@ -3,3 +3,12 @@ table t1 : {A : int, B : string, C : float}
val q1 = (SELECT *
FROM t1
WHERE A = 0)
+
+val a1 = (INSERT INTO t1
+ VALUES (0, "1", 2.0))
+
+val a2 = (UPDATE t1
+ SET A = 3, B = "4", C = 5.0)
+
+val a3 = (DELETE FROM t1
+ WHERE B <> "good")