sideport new SQL.pm macro test for multiline output
This commit is contained in:
parent
77b09dee37
commit
9695b704c5
1 changed files with 6 additions and 0 deletions
|
|
@ -98,6 +98,12 @@ my @testSets = (
|
||||||
template => join(':', map { "^$_;" } 'rownum', 0..3).',',
|
template => join(':', map { "^$_;" } 'rownum', 0..3).',',
|
||||||
output => '1:0:1:2:3,2:100:101:102:103,',
|
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!,
|
comment => q!SQL error!,
|
||||||
sql => q!select ** from testTable order by one!,
|
sql => q!select ** from testTable order by one!,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue