Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
david-walters-14 committed Oct 2, 2024
1 parent 044f9d2 commit b756b76
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions jaxrs-api/src/test/java/jakarta/ws/rs/core/FormTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,8 @@ public void testSameObjectEquals() {
@Test
public void testDifferentObjectTypeEquals() {
Form form = new Form("field", "value");
Cookie cookie = new Cookie.Builder("field")
.value("value")
.build();
assertFalse(form.equals(cookie));
Boolean booleanValue = new Boolean(false);
assertFalse(form.equals(booleanValue));
}

@Test
Expand Down

0 comments on commit b756b76

Please sign in to comment.