Skip to content

Commit 93ef1db

Browse files
committed
Skip 119_incr_parse_utf8.t if JSON::PP is old
1 parent 6a21961 commit 93ef1db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/119_incr_parse_utf8.t

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ is_deeply( $vs[2], { c => "3" } );
6666
### Without '->utf8' ###
6767
##########################
6868

69+
SKIP: {
70+
skip "not for older version of JSON::PP", 6 if JSON->backend->isa('JSON::PP') && JSON->backend->VERSION < 4.07;
6971
@vs = eval { JSON->new->incr_parse( $JSON_TXT ) };
7072

7173
ok( !$@ );
@@ -75,3 +77,4 @@ is_deeply( \@vs, [ { a => "1" }, { b => "\N{BULLET}" }, { c => "3" } ] );
7577
is_deeply( $vs[0], { a => "1" } );
7678
is_deeply( $vs[1], { b => "\N{BULLET}" } );
7779
is_deeply( $vs[2], { c => "3" } );
80+
}

0 commit comments

Comments
 (0)