Skip to content

Commit 1bdf9da

Browse files
authored
Update CheckTypeTest.php
1 parent 24b8f1e commit 1bdf9da

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/CheckTypeTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,12 @@ public function test(){
179179
'v' => [2],
180180
]);
181181

182+
$query = "DECLARE \$v as List<Int32>; SELECT \$v as val;";
183+
$prepared = $session->prepare($query);
184+
$result = $prepared->execute([
185+
'v' => [],
186+
]);
187+
182188
foreach ($checkTypes as $type=>$data) {
183189
$query = "DECLARE \$v as $type; SELECT \$v as val;";
184190
$prepared = $session->prepare($query);

0 commit comments

Comments
 (0)