Fix MaterialTagTest deterministic ordering

Tacos > Burritos
This commit is contained in:
Spottedleaf 2018-10-08 01:33:25 -04:00
parent efb4b6ef8b
commit 9857d5a9b4

View file

@ -536,7 +536,7 @@ index 000000000..92bb0aef5
+} +}
diff --git a/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java b/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java diff --git a/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java b/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java
new file mode 100644 new file mode 100644
index 000000000..01cf1041e index 000000000..328c51471
--- /dev/null --- /dev/null
+++ b/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java +++ b/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java
@@ -0,0 +0,0 @@ @@ -0,0 +0,0 @@
@ -547,6 +547,7 @@ index 000000000..01cf1041e
+package com.destroystokyo.paper; +package com.destroystokyo.paper;
+ +
+import org.bukkit.Bukkit; +import org.bukkit.Bukkit;
+import org.bukkit.TestServer;
+import org.junit.Test; +import org.junit.Test;
+ +
+import java.util.logging.Level; +import java.util.logging.Level;
@ -555,6 +556,7 @@ index 000000000..01cf1041e
+ @Test + @Test
+ public void testInitialize() { + public void testInitialize() {
+ try { + try {
+ TestServer.getInstance();
+ MaterialTags.SHULKER_BOXES.getValues(); + MaterialTags.SHULKER_BOXES.getValues();
+ assert true; + assert true;
+ } catch (Throwable e) { + } catch (Throwable e) {