X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=blobdiff_plain;f=t%2Frest%2Flist.t;h=783aa4c05097f92fbe5a0e4e60bdb4a8953ec65c;hp=ab2aa4ec47471064df7dea0daf3bd70f2e7e4a2b;hb=7821bdec3826d11fe878d13859c15d7f2c5b0cfa;hpb=11ba2ccc06f22b028f66fdfcad72ce3903345374 diff --git a/t/rest/list.t b/t/rest/list.t index ab2aa4e..783aa4c 100644 --- a/t/rest/list.t +++ b/t/rest/list.t @@ -143,7 +143,7 @@ my $track_list_url = "$base/api/rest/track"; $mech->request($req); cmp_ok( $mech->status, '==', 400, 'attempt with nonexisting relationship fails' ); my $response = JSON::Any->Load( $mech->content); - is_deeply( $response->{messages}, ["track is neither a relationship nor a column\n"], 'correct error message returned' ); + is_deeply( $response->{messages}, ['track is neither a relationship nor a column'], 'correct error message returned' ); } {