Add hex color support to translations
This commit is contained in:
@@ -19,7 +19,7 @@ public class DisguiseCloneTest {
|
||||
/**
|
||||
* MetaIndex needs ProtocolLib to have initialized so.
|
||||
*/
|
||||
// @Test
|
||||
// @Test
|
||||
public void testCloneDisguise() {
|
||||
try {
|
||||
ReflectionManager.registerValues();
|
||||
|
@@ -16,8 +16,10 @@ public class DisguiseUtilitiesTest {
|
||||
Assert.assertArrayEquals(new String[]{"Name 1\\", "Name 2"},
|
||||
DisguiseUtilities.splitNewLine("Name 1\\\nName 2"));
|
||||
Assert.assertArrayEquals(new String[]{"Name 1\\nName 2"}, DisguiseUtilities.splitNewLine("Name 1\\\\nName 2"));
|
||||
Assert.assertArrayEquals(new String[]{"Name 1\\","Name 2"}, DisguiseUtilities.splitNewLine("Name 1\\\\\\nName 2"));
|
||||
Assert.assertArrayEquals(new String[]{"Name 1\\\\nName 2"}, DisguiseUtilities.splitNewLine("Name 1\\\\\\\\nName 2"));
|
||||
Assert.assertArrayEquals(new String[]{"Name 1\\", "Name 2"},
|
||||
DisguiseUtilities.splitNewLine("Name 1\\\\\\nName 2"));
|
||||
Assert.assertArrayEquals(new String[]{"Name 1\\\\nName 2"},
|
||||
DisguiseUtilities.splitNewLine("Name 1\\\\\\\\nName 2"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user