JSON -> JSON::MaybeXS
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
use Setup;
|
||||
use JSON qw(decode_json encode_json);
|
||||
use JSON::MaybeXS qw(decode_json encode_json);
|
||||
use File::Copy;
|
||||
|
||||
my %ctx = test_init(
|
||||
|
@ -2,7 +2,7 @@ use feature 'unicode_strings';
|
||||
use strict;
|
||||
use warnings;
|
||||
use Setup;
|
||||
use JSON qw(decode_json encode_json);
|
||||
use JSON::MaybeXS qw(decode_json encode_json);
|
||||
|
||||
my %ctx = test_init();
|
||||
|
||||
|
@ -2,7 +2,7 @@ use feature 'unicode_strings';
|
||||
use strict;
|
||||
use warnings;
|
||||
use Setup;
|
||||
use JSON qw(decode_json encode_json);
|
||||
use JSON::MaybeXS qw(decode_json encode_json);
|
||||
|
||||
my %ctx = test_init();
|
||||
|
||||
|
@ -2,7 +2,7 @@ use feature 'unicode_strings';
|
||||
use strict;
|
||||
use warnings;
|
||||
use Setup;
|
||||
use JSON qw(decode_json encode_json);
|
||||
use JSON::MaybeXS qw(decode_json encode_json);
|
||||
|
||||
my %ctx = test_init();
|
||||
|
||||
|
@ -2,7 +2,7 @@ use feature 'unicode_strings';
|
||||
use strict;
|
||||
use warnings;
|
||||
use Setup;
|
||||
use JSON qw(decode_json encode_json);
|
||||
use JSON::MaybeXS qw(decode_json encode_json);
|
||||
|
||||
my %ctx = test_init();
|
||||
|
||||
|
@ -2,7 +2,7 @@ use strict;
|
||||
use warnings;
|
||||
use Setup;
|
||||
use Data::Dumper;
|
||||
use JSON qw(decode_json);
|
||||
use JSON::MaybeXS qw(decode_json);
|
||||
my %ctx = test_init(
|
||||
# Without this, the test will fail because a `file:` store is not treated as a
|
||||
# local store by `isLocalStore` in src/lib/Hydra/Helper/Nix.pm, and any
|
||||
|
Reference in New Issue
Block a user