Skip to content

Commit 569c7f3

Browse files
1 parent 455a39a commit 569c7f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/JSON/Schema/Tiny.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,6 @@ sub _eval_keyword_type ($data, $schema, $state) {
431431

432432
sub _eval_keyword_enum ($data, $schema, $state) {
433433
assert_keyword_type($state, $schema, 'array');
434-
abort($state, '"enum" values are not unique') if not is_elements_unique($schema->{enum});
435434

436435
my @s; my $idx = 0;
437436
return 1 if any { is_equal($data, $_, $s[$idx++] = {}) } $schema->{enum}->@*;

0 commit comments

Comments
 (0)