File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 108
108
[$1 \nplan skip_all => " not for older version of JSON::PP" if JSON-> backend-> isa(' JSON::PP' ) && JSON-> backend-> VERSION < 4.09;]s ;
109
109
$content =~ s | my \$ coder = JSON->new;| my \$ coder = JSON->new->allow_nonref(1);| g ;
110
110
}
111
+ if ($basename eq ' 03_types.t' ) {
112
+ $content =~ s | JSON\- >can\( "CORE_BOOL"\) && JSON::CORE_BOOL\(\) | JSON->backend->can("CORE_BOOL") && JSON->backend->CORE_BOOL| g ;
113
+ }
111
114
if ($basename eq ' core_bools.t' ) {
112
- $content =~ s | JSON->CORE_BOOL| JSON->backend->can('CORE_BOOL') && JSON->backend->CORE_BOOL| g ;
115
+ $content =~ s | JSON->can\( 'CORE_BOOL'\) | JSON->backend->can('CORE_BOOL')| g ;
116
+ $content =~ s | JSON::CORE_BOOL| JSON->backend->CORE_BOOL| g ;
113
117
}
114
118
115
119
$json_test -> spew($content );
You can’t perform that action at this time.
0 commit comments