Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make parsing tests more robust

  • Loading branch information...
commit a0a5335caa5172979b0971664eb36f8ed4cc5da1 1 parent 121fff4
@moritz authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 t/01-parse.t
View
4 t/01-parse.t
@@ -199,8 +199,8 @@ for @t -> $t {
}
my $parsed = 0;
try {
- JSON::Tiny::Grammar.parse($t);
- $parsed = 1;
+ JSON::Tiny::Grammar.parse($t)
+ and $parsed = 1;
}
ok $parsed, "JSON string «$desc» parsed";
$i++;
Please sign in to comment.
Something went wrong with that request. Please try again.