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 19, 2021
1 parent 840f6e8 commit abbbb63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

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

// https://github.com/KyoriPowered/adventure/issues/363
class ComponentContainsTest {
@Test
public void testOf() {
Expand Down
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 abbbb63

Please sign in to comment.