X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F05in_between.t;h=733615874b857a51b0eb8dcc2b91c009ba458b1e;hb=c771453abebe09026dad9f31fa2b64971aff2616;hp=a50a0c9f006a6852b3fb62cb43a569086431aa4c;hpb=a3dc0922ce5f3b7b3f155eaa65f2e3632008b5b3;p=dbsrgits%2FSQL-Abstract.git diff --git a/t/05in_between.t b/t/05in_between.t index a50a0c9..7336158 100644 --- a/t/05in_between.t +++ b/t/05in_between.t @@ -152,10 +152,10 @@ my @in_between_tests = ( parenthesis_significant => 1, where => { customer => { -in => \[ - '( SELECT cust_id FROM cust WHERE balance > ? )', + 'SELECT cust_id FROM cust WHERE balance > ?', 2000, ]}, - status => { -in => \'( SELECT status_codes FROM states )' }, + status => { -in => \'SELECT status_codes FROM states' }, }, stmt => " WHERE (( @@ -186,8 +186,6 @@ my @in_between_tests = ( }, ); -plan tests => @in_between_tests*3; - for my $case (@in_between_tests) { TODO: { local $TODO = $case->{todo} if $case->{todo}; @@ -214,3 +212,5 @@ for my $case (@in_between_tests) { diag "Error: $e\n Search term:\n".Dumper($case->{where}) if $e; } } + +done_testing;