Skip to content

Commit f4e3a3f

Browse files
committed
Fix test t/35prepare.t
Do not test perl assignment operator
1 parent 5f08039 commit f4e3a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/35prepare.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ for (my $i = 0 ; $i < 10; $i++)
6464
# save these values for later testing
6565
$testInsertVals->{$i}= $random_chars;
6666
ok($rows= $sth->execute($i, $random_chars), "Testing insert row");
67-
ok($rows= 1, "Should have inserted one row");
67+
is($rows, 1, "Should have inserted one row");
6868
}
6969

7070
ok($sth= $dbh->prepare("SELECT * FROM dbd_mysql_t35prepare WHERE id = ? OR id = ?"),

0 commit comments

Comments
 (0)