diff options
author | md_5 <git@md-5.net> | 2016-06-26 19:31:59 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-06-26 19:31:59 +1000 |
commit | f0973327a93ed495f86e96a3e32bc5678b66a15d (patch) | |
tree | 955d75d570e5ee5c91477615503a5bb99cc4ab77 /src/test | |
parent | c3a46c9b8db54daf9425d73aa593e494f809bbde (diff) | |
download | bukkit-f0973327a93ed495f86e96a3e32bc5678b66a15d.tar bukkit-f0973327a93ed495f86e96a3e32bc5678b66a15d.tar.gz bukkit-f0973327a93ed495f86e96a3e32bc5678b66a15d.tar.lz bukkit-f0973327a93ed495f86e96a3e32bc5678b66a15d.tar.xz bukkit-f0973327a93ed495f86e96a3e32bc5678b66a15d.zip |
BUILDTOOLS-251: Make much of Bukkit locale independent
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/org/bukkit/MaterialTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/org/bukkit/MaterialTest.java b/src/test/java/org/bukkit/MaterialTest.java index cbca8409..61c68711 100644 --- a/src/test/java/org/bukkit/MaterialTest.java +++ b/src/test/java/org/bukkit/MaterialTest.java @@ -78,7 +78,7 @@ public class MaterialTest { @Test public void matchMaterialByLowerCaseAndSpaces() { for (Material material : Material.values()) { - String name = material.toString().replaceAll("_", " ").toLowerCase(); + String name = material.toString().replaceAll("_", " ").toLowerCase(java.util.Locale.ENGLISH); assertThat(Material.matchMaterial(name), is(material)); } } |