1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Description: Debian package json-schema-test-suite 2.0.0-1.1 has draft7 with 7
boolean type tests instead of 10, thus the number has to be adjusted.
Author: Andrius Merkys <merkys@debian.org>
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -38,7 +38,7 @@
my @bool_tests = grep $_->isa('Test2::Event::Ok') && $_->name =~ /boolean type matches booleans/,
@$events;
-is(@bool_tests, 10, 'found all the tests that check for boolean type');
+is(@bool_tests, 7, 'found all the tests that check for boolean type');
cmp_deeply(
\@bool_tests,
--- a/t/03-validate_data.t
+++ b/t/03-validate_data.t
@@ -30,7 +30,7 @@
my @bool_tests = grep $_->isa('Test2::Event::Ok') && $_->name =~ /boolean type matches booleans/,
@$events;
-is(@bool_tests, 10, 'found all the tests that check for boolean type');
+is(@bool_tests, 7, 'found all the tests that check for boolean type');
cmp_deeply(
\@bool_tests,
--- a/t/04-validate_json_string.t
+++ b/t/04-validate_json_string.t
@@ -30,7 +30,7 @@
my @bool_tests = grep $_->isa('Test2::Event::Ok') && $_->name =~ /boolean type matches booleans/,
@$events;
-is(@bool_tests, 10, 'found all the tests that check for boolean type');
+is(@bool_tests, 7, 'found all the tests that check for boolean type');
cmp_deeply(
\@bool_tests,
|