mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
Merge pull request #810 from PlaceholderAPI/feature/remove-escape-hex-test
Remove testCharsReplacerHandlesEscapedHex()
This commit is contained in:
commit
35c47a8745
@ -88,12 +88,4 @@ public final class ReplacerUnitTester {
|
|||||||
assertEquals(text, Values.CHARS_REPLACER.apply(text, null, Values.PLACEHOLDERS::get));
|
assertEquals(text, Values.CHARS_REPLACER.apply(text, null, Values.PLACEHOLDERS::get));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
void testCharsReplacerHandlesEscapedHex() {
|
|
||||||
final String text = "\\&xffffffThis should not change.";
|
|
||||||
|
|
||||||
assertEquals(text.substring(1),
|
|
||||||
Values.CHARS_REPLACER.apply(text, null, Values.PLACEHOLDERS::get));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user