Skip to content

Commit

Permalink
Fix incorrect assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalluck authored and goneall committed Jan 22, 2025
1 parent 99ee2c7 commit 457f0a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void testEqualsObject() throws InvalidSPDXAnalysisException {
StoredTypedItem sti = new StoredTypedItem(TEST_OBJECT_URI1, TEST_TYPE1, "SPDX-2.3");
StoredTypedItem sti2 = new StoredTypedItem(TEST_OBJECT_URI1, TEST_TYPE1, "SPDX-2.3");
assertTrue(sti.equals(sti2));
assertTrue(sti2.equals(sti2));
assertTrue(sti2.equals(sti));
StoredTypedItem sti3 = new StoredTypedItem(TEST_OBJECT_URI2, TEST_TYPE1, "SPDX-2.3");
assertFalse(sti.equals(sti3));
assertFalse(sti3.equals(sti));
Expand Down

0 comments on commit 457f0a7

Please sign in to comment.