Skip to content

Commit 9129282

Browse files
allow override of test dir
e.g. for testing against the JSON-Schema-Test-Suite repository directly
1 parent cdb1940 commit 9129282

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/zzz-acceptance.t

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use Test::File::ShareDir -share => { -dist => { 'JSON-Schema-Draft201909' => 'sh
2222
use JSON::Schema::Draft201909;
2323

2424
my $accepter = Test::JSON::Schema::Acceptance->new(
25-
specification => 'draft2019-09',
25+
$ENV{TEST_DIR} ? (test_dir => $ENV{TEST_DIR}) : (specification => 'draft2019-09'),
2626
include_optional => 1,
2727
verbose => 1,
2828
);

0 commit comments

Comments
 (0)