Functional test for multiline output.

This commit is contained in:
Colin Kuskie 2008-03-05 21:30:44 +00:00
parent aa5355930a
commit 7fa4e945b5

View file

@ -98,6 +98,12 @@ my @testSets = (
template => join(':', map { "^$_;" } 'rownum', 0..3).',',
output => '1:0:1:2:3,2:100:101:102:103,',
},
{
comment => q!Multiline output test using rownum!,
sql => q!select zero from testTable order by one!,
template => "^rownum;\n",
output => "1\n2\n",
},
{
comment => q!SQL error!,
sql => q!select ** from testTable order by one!,