From 0a66597b3498f5863620c3ca5e2713e45eed47f8 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 16 Oct 2008 16:15:17 -0400 Subject: Indenting SELECT sub-clauses properly --- tests/select.ur | 20 ++++++++++---------- tests/sql_indent.ur | 5 +++++ 2 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 tests/sql_indent.ur (limited to 'tests') diff --git a/tests/select.ur b/tests/select.ur index d97e6a55..ff3908e9 100644 --- a/tests/select.ur +++ b/tests/select.ur @@ -1,13 +1,13 @@ -val handler = fn x => +val handler = fn x => You entered: {cdata x.A} - + -val main = fn () => - - - A - B - +val main = fn () => +
+ + + + - - + +
diff --git a/tests/sql_indent.ur b/tests/sql_indent.ur new file mode 100644 index 00000000..c4a46d71 --- /dev/null +++ b/tests/sql_indent.ur @@ -0,0 +1,5 @@ +table t1 : {A : int, B : string, C : float} + +val q1 = (SELECT * + FROM t1 + WHERE A = 0) -- cgit v1.2.3