X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate;a=blobdiff_plain;f=t%2Flib%2FRunTests.pm;fp=t%2Flib%2FRunTests.pm;h=3dba310caf704abd9953ca0f6d6545f9c5edca3a;hp=7121ed27add86d4f6c6a1bfc5634582d63c63af0;hb=75bcf6b8626125cd29e1bb4846022f9de080bd70;hpb=882e0965d8ecbf0320905b794bbbdbc7cc3582f7 diff --git a/t/lib/RunTests.pm b/t/lib/RunTests.pm index 7121ed2..3dba310 100644 --- a/t/lib/RunTests.pm +++ b/t/lib/RunTests.pm @@ -59,10 +59,10 @@ sub run_tests { # qr/No such column, relationship, many-to-many helper accessor or generic accessor 'nonexisting'/, # 'nonexisting column, accessor, relationship fails' # ); - warning_is { + warning_like { my $user = $user_rs->recursive_update($updates); } - "No such column, relationship, many-to-many helper accessor or generic accessor 'nonexisting'", + qr/No such column, relationship, many-to-many helper accessor or generic accessor 'nonexisting'/, 'nonexisting column, accessor, relationship warns'; $expected_user_count++; is( $user_rs->count, $expected_user_count, 'User created' );