Navigation Menu

Skip to content

Commit

Permalink
Relax expected error message syntax.
Browse files Browse the repository at this point in the history
SQLite 1.34 includes more detail in the error, allow any message
starting with "datatype mismatch".
  • Loading branch information
ilmari committed Oct 25, 2011
1 parent 6f72376 commit 4a42530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/100populate.t
Expand Up @@ -171,7 +171,7 @@ throws_ok {
name => 'foo3',
},
]);
} qr/\Qexecute_array() aborted with 'datatype mismatch'/, 'bad slice';
} qr/\Qexecute_array() aborted with 'datatype mismatch\E\b/, 'bad slice';

is($rs->count, 0, 'populate is atomic');

Expand Down

0 comments on commit 4a42530

Please sign in to comment.