str = "" +
" ' \\' \\'ue'" +
"";
parsingUtils = ParsingUtils.create(str, true);
parsingUtils.eatLiteralsBackwards(buf.clear(), str.length() - 1);
assertEquals("' \\' \\'ue'", buf.toString());
}
public void testRemoveCommentsWhitespacesAndLiterals() throws Exception {
FastStringBuffer buf = new FastStringBuffer();