Skip to content

Commit

Permalink
look to an other error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerd Pokorra committed Mar 3, 2011
1 parent cf6d1a8 commit 45e5941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/compilers/data_json/to_parrot.t
Expand Up @@ -707,7 +707,7 @@ sub json_isnt {
$code =~ s{("|\\)}{\\$1}g;
$code =~ s{\n}{\\n}g;

return pir_error_output_like( <<"END_PIR", qr/not a valid JSON value/, $reason, %args );
return pir_error_output_like( <<"END_PIR", qr/Unable to parse source/, $reason, %args );
.sub test :main
load_language 'JSON'
Expand Down

0 comments on commit 45e5941

Please sign in to comment.