summaryrefslogtreecommitdiff
path: root/tests/sql_indent.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-10-16 16:24:19 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-10-16 16:24:19 -0400
commit78c1a4cd0f7766327190268b8e3609c854ebfa54 (patch)
tree47c17bbfc5f80908d39e5a32df30437512e5d6d2 /tests/sql_indent.ur
parent0a66597b3498f5863620c3ca5e2713e45eed47f8 (diff)
Indenting simple DML properly
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")