X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F05in_between.t;h=5bcbe554fa5fc159799ad20c79315bc47999a2a0;hb=c7e9c808fa4346e2c2692f107852626c0ccde404;hp=a3e7656ddc3b2f0d25be62c63e4250c40d65033f;hpb=43779415b61fa06ddb068940ea6c407f98da65d6;p=dbsrgits%2FSQL-Abstract.git diff --git a/t/05in_between.t b/t/05in_between.t index a3e7656..5bcbe55 100644 --- a/t/05in_between.t +++ b/t/05in_between.t @@ -310,9 +310,9 @@ my @in_between_tests = ( { where => { -in => [ - { -tuple => [ 'x', 'y' ] }, - { -tuple => [ 1, 2 ] }, - { -tuple => [ 3, 4 ] }, + { -row => [ 'x', 'y' ] }, + { -row => [ 1, 2 ] }, + { -row => [ 3, 4 ] }, ], }, stmt => ' WHERE (x, y) IN ((?, ?), (?, ?))', @@ -325,6 +325,13 @@ my @in_between_tests = ( bind => [], test => 'Top level -is ok', }, + { + where => { -op => [ in => x => 1, 2, 3 ] }, + stmt => ' WHERE x IN (?, ?, ?)', + bind => [ 1, 2, 3 ], + test => 'Raw -op passes through correctly' + }, + ); for my $case (@in_between_tests) {