From 78c1a4cd0f7766327190268b8e3609c854ebfa54 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 16 Oct 2008 16:24:19 -0400 Subject: Indenting simple DML properly --- tests/sql_indent.ur | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/sql_indent.ur') 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") -- cgit v1.2.3