From cd5792344537ea338fb9172aafbb056d8d232404 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Fri, 6 Jan 2023 19:17:31 -0800 Subject: [PATCH] update tests for issue c171 fix (excess iterations) --- t/snippets/expect/here_long.here_long | 3 ++- t/snippets/packing_list.txt | 2 +- t/snippets22.t | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/t/snippets/expect/here_long.here_long b/t/snippets/expect/here_long.here_long index d8998ca1..1f05837d 100644 --- a/t/snippets/expect/here_long.here_long +++ b/t/snippets/expect/here_long.here_long @@ -1,5 +1,6 @@ # must not break after here target regardless of maximum-line-length -$sth = $dbh->prepare( +$sth = + $dbh->prepare( <<"END_OF_SELECT") or die "Couldn't prepare SQL"; SELECT COUNT(duration),SUM(duration) FROM logins WHERE username='$user' diff --git a/t/snippets/packing_list.txt b/t/snippets/packing_list.txt index c8caa644..21aead70 100644 --- a/t/snippets/packing_list.txt +++ b/t/snippets/packing_list.txt @@ -381,6 +381,7 @@ ../snippets27.t bfvt.def ../snippets27.t cpb.cpb ../snippets27.t cpb.def +../snippets27.t rt145706.def ../snippets3.t ce_wn1.ce_wn ../snippets3.t ce_wn1.def ../snippets3.t colin.colin @@ -521,4 +522,3 @@ ../snippets9.t rt98902.def ../snippets9.t rt98902.rt98902 ../snippets9.t rt99961.def -../snippets27.t rt145706.def diff --git a/t/snippets22.t b/t/snippets22.t index a86591f2..0975f678 100644 --- a/t/snippets22.t +++ b/t/snippets22.t @@ -261,7 +261,8 @@ my @globlist = ( grep { defined } @opt{qw( l q S t )} ) params => "here_long", expect => <<'#1...........', # must not break after here target regardless of maximum-line-length -$sth = $dbh->prepare( +$sth = + $dbh->prepare( <<"END_OF_SELECT") or die "Couldn't prepare SQL"; SELECT COUNT(duration),SUM(duration) FROM logins WHERE username='$user' -- 2.39.5