Browse Source

Tests: Make ScriptBuilder use a LinkedHashMap to preserve file orde

kindlich 4 years ago
parent
commit
cfbaaf9f9b
No known key found for this signature in database

+ 1
- 1
ScriptingExample/src/test/java/org/openzen/zenscript/scriptingexample/tests/helpers/ScriptBuilder.java View File

@@ -9,7 +9,7 @@ public class ScriptBuilder {
9 9
     private String currentScriptName;
10 10
     
11 11
     private ScriptBuilder() {
12
-        scriptNameToScript = new HashMap<>();
12
+        scriptNameToScript = new LinkedHashMap<>();
13 13
         startNewScript();
14 14
     }
15 15
     

Loading…
Cancel
Save