kill ident/value specialness
[scpubgit/Q-Branch.git] / t / 05in_between.t
index bb98f11..9d168c4 100644 (file)
@@ -310,14 +310,20 @@ 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 ((?, ?), (?, ?))',
     bind => [ 1..4 ],
-    test => 'Complex IN',
+    test => 'Complex top-level -in',
+  },
+  {
+    where => { -is => [ 'bob', undef ] },
+    stmt => ' WHERE bob IS NULL',
+    bind => [],
+    test => 'Top level -is ok',
   },
 );