From: Matt S Trout <mst@shadowcat.co.uk>
Date: Mon, 1 Apr 2019 01:47:00 +0000 (+0000)
Subject: test more complex in clause
X-Git-Tag: v1.90_01~280
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=39bf6ceae5f7f2dcf8706d0cbad024e8532b8072;p=dbsrgits%2FSQL-Abstract.git

test more complex in clause
---

diff --git a/t/05in_between.t b/t/05in_between.t
index 3163aa6..bb98f11 100644
--- a/t/05in_between.t
+++ b/t/05in_between.t
@@ -307,6 +307,18 @@ my @in_between_tests = (
     bind => [ 2, 3, 4 ],
     test => 'Top level -between with useful LHS',
   },
+  {
+    where => {
+      -in => [
+        { -tuple => [ 'x', 'y' ] },
+        { -tuple => [ 1, 2 ] },
+        { -tuple => [ 3, 4 ] },
+      ],
+    },
+    stmt => ' WHERE (x, y) IN ((?, ?), (?, ?))',
+    bind => [ 1..4 ],
+    test => 'Complex IN',
+  },
 );
 
 for my $case (@in_between_tests) {