From: Dagfinn Ilmari Mannsåker Date: Tue, 25 Oct 2011 00:51:02 +0000 (+0100) Subject: Relax expected error message syntax. X-Git-Tag: v0.08196~33 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4a425300;p=dbsrgits%2FDBIx-Class.git Relax expected error message syntax. SQLite 1.34 includes more detail in the error, allow any message starting with "datatype mismatch". --- diff --git a/t/100populate.t b/t/100populate.t index 9588f4e..3109999 100644 --- a/t/100populate.t +++ b/t/100populate.t @@ -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');