X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcdbi%2F09-has_many.t;fp=t%2Fcdbi%2F09-has_many.t;h=c2939efce16b9184b217c00c7de2c2fbaa36c6d5;hb=81e4dc3d93646a11bee973606a31be412f23cd5f;hp=7b2a336c1613e12fca7ade84120efe14da7836c8;hpb=363e4e04aa57c5c99a4b4cf747181f070b74d185;p=dbsrgits%2FDBIx-Class.git diff --git a/t/cdbi/09-has_many.t b/t/cdbi/09-has_many.t index 7b2a336..c2939ef 100644 --- a/t/cdbi/09-has_many.t +++ b/t/cdbi/09-has_many.t @@ -45,7 +45,7 @@ eval { my $pj = Film->add_to_actors(\%pj_data) }; like $@, qr/class/, "add_to_actors must be object method"; eval { my $pj = $btaste->add_to_actors(%pj_data) }; -like $@, qr/needs/, "add_to_actors takes hash"; +like $@, qr/expects a hashref/, "add_to_actors takes hash"; ok( my $pj = $btaste->add_to_actors(