public void testSkipUntilNonExistentMarkerShouldReturnEOF() throws IOException { final LexerSource src = newSource("abcd\n1234"); assertEquals(RubyLexer.EOF, src.skipUntil('z')); }
public void testSkipUntilShouldSkipPastNonMatchingChars() throws IOException { LexerSource src = newSource("abcd1234"); src.skipUntil('1'); assertReadShouldProduce(src, "234"); }