X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F86sqlt.t;h=467fed330b021bf04a72eb11a24f2a9687a7b2ca;hb=c98169a74e44ef761b38d738d1d16f8a693d0a46;hp=c033113838f0dfccdfcdc1d68ecab6eb694bc148;hpb=b230b4bee9367c652bc213f09053386a5f9aeb12;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/86sqlt.t b/t/86sqlt.t index c033113..467fed3 100644 --- a/t/86sqlt.t +++ b/t/86sqlt.t @@ -45,7 +45,11 @@ my $translator = SQL::Translator->new( ok($output, "SQLT produced someoutput") or diag($translator->error); - like ($warn, qr/^SQLT attribute .+? was supplied for relationship/, 'Warn about dubious on_delete/on_update attributes'); + like ( + $warn, + qr/SQLT attribute .+? was supplied for relationship .+? which does not appear to be a foreign constraint/, + 'Warn about dubious on_delete/on_update attributes', + ); } # Note that the constraints listed here are the only ones that are tested -- if