Skip to content

Commit

Permalink
Remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
kezz committed May 17, 2021
1 parent f4f9841 commit 192de12
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions api/src/test/java/net/kyori/adventure/text/TextComponentTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,6 @@ void testContains() {
assertTrue(component.contains(child));
}

// https://github.com/KyoriPowered/adventure/issues/363
@Test
void testContainsEquality() {
final Component c0 = Component.text("best!");
final Component c1 = Component.text()
.append(Component.text("Nero "))
.append(Component.text(" are the ").append(c0))
.build();

assertTrue(c1.contains(Component.text("best!"), Component.EQUALS));
}

@Test
void testContent() {
final TextComponent c0 = Component.text("foo");
Expand Down

0 comments on commit 192de12

Please sign in to comment.