From 7fa4e945b5a4d549dfff4efdf6838fb84add21a6 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 5 Mar 2008 21:30:44 +0000 Subject: [PATCH] Functional test for multiline output. --- t/Macro/SQL.t | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t/Macro/SQL.t b/t/Macro/SQL.t index 88fa5e862..143104a89 100644 --- a/t/Macro/SQL.t +++ b/t/Macro/SQL.t @@ -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!,