Skip to content

Commit

Permalink
Update core/src/test/java/io/github/sebastiantoepfer/jsonschema/core/…
Browse files Browse the repository at this point in the history
…vocab/validation/UniqueItemsKeywordTypeTest.java
  • Loading branch information
sebastian-toepfer authored Nov 1, 2023
1 parent 7eca825 commit 51f36cb
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ void should_be_valid_for_non_arrays() {

@Test
void should_be_invalid_if_numbers_mathematically_unequal() {
assertThat(
new BigDecimal("1.0").stripTrailingZeros().equals(new BigDecimal("1.00").stripTrailingZeros()),
is(true)
);

assertThat(
new UniqueItemsKeywordType()
.createKeyword(new DefaultJsonSchemaFactory().create(JsonValue.TRUE), JsonValue.TRUE)
Expand Down

0 comments on commit 51f36cb

Please sign in to comment.