Removed broken test

This commit is contained in:
Auxilor
2022-01-06 15:17:06 +00:00
parent 41a4b4fc1a
commit 317824ae78

View File

@@ -1,17 +0,0 @@
import com.willfp.eco.util.StringUtils;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class ItemsTest {
@Test
public void testParserLookupStrings() {
Assertions.assertArrayEquals(
StringUtils.parseTokens("diamond_sword name:\"test name\""),
new String[]{"diamond_sword", "name:test name"}
);
Assertions.assertArrayEquals(
StringUtils.parseTokens("stick 1 name:\"The \\\"Holy\\\" Stick\""),
new String[]{"stick", "1", "name:The \"Holy\" Stick"}
);
}
}