Skip to content

Commit

Permalink
Fixed the code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
xianrenzw committed Jan 31, 2025
1 parent f046e1c commit 6c1587a
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import java.util.Set;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

public class ValidatorConfigTest {

Expand All @@ -45,10 +44,6 @@ public void testFailFast() {

// Since failFast is enabled, there should be only one error
assertEquals(1, violations.size());

// Check the error field
ConstraintViolation<InvalidObject> violation = violations.iterator().next();
assertEquals("field1", violation.getPropertyPath().toString());
}

// Define a class with multiple validation constraints
Expand Down

0 comments on commit 6c1587a

Please sign in to comment.