From b7e5e72ac41c4d1b9176c78ba9719f57377800d2 Mon Sep 17 00:00:00 2001 From: Moritz Heidkamp Date: Wed, 17 Aug 2011 18:22:25 +0200 Subject: [PATCH] add test for set literals --- tests/ansi-test.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/ansi-test.scm b/tests/ansi-test.scm index 6f63b80..2c1178b 100644 --- a/tests/ansi-test.scm +++ b/tests/ansi-test.scm @@ -26,3 +26,9 @@ (test "Order" "SELECT lastname, firstname FROM people ORDER BY lastname DESC, firstname" (ssql->sql #f '(select (columns lastname firstname) (from people) (order (desc lastname) firstname))))) + + +(test-group "syntax" + (test "set literals" + "SELECT one, two FROM (1, 2)" + (ssql->sql #f '(select (columns one two) (from #(1 2)))))) \ No newline at end of file