- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testBuilderInitialStateNoneUnsafe (0.13 sec)
-
guava-tests/test/com/google/common/escape/EscapersTest.java
Escaper escaper = Escapers.builder().setSafeRange('a', 'z').build(); assertEquals("The Quick Brown Fox", escaper.escape("The Quick Brown Fox")); } public void testBuilderInitialStateNoneUnsafe() { // No characters are unsafe by default (safeMin == 0, safeMax == 0xFFFF). Escaper escaper = Escapers.builder().setUnsafeReplacement("X").build(); assertEquals("\0\uFFFF", escaper.escape("\0\uFFFF"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 3.8K bytes - Viewed (0)