projects
/
dbsrgits/SQL-Abstract.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix SQLATest, add more rudimentary formatting and some depth
[dbsrgits/SQL-Abstract.git]
/
t
/
11unparse.t
diff --git
a/t/11unparse.t
b/t/11unparse.t
index
1b07526
..
a865416
100644
(file)
--- a/
t/11unparse.t
+++ b/
t/11unparse.t
@@
-19,6
+19,13
@@
my $sqlat = SQL::Abstract::Tree->new;
print $sqlat->format($sql) . "\n";
}
+{
+ my $sql = "SELECT * FROM lolz WHERE ( foo.a =1 ) and foo.b LIKE 'station'";
+
+ print "$sql\n";
+ print $sqlat->format($sql) . "\n";
+}
+
# stuff we want:
# Nested indentation
# Max Width