@Test
public void testBlockComment_withQuotedPattern() {

  Parser<Void> scanner = Scanners.blockComment("<<", ">>", Patterns.hasAtLeast(1));
  assertNull(scanner.parse("<<abc>>"));
  assertNull(scanner.parse("<<>>"));
  assertNull(scanner.parse("<<<>>"));
  assertScanner(mode, scanner, "<<a>>>\n", ">\n");
  assertFailure(mode, scanner, "", 1, 1);
  assertFailure(mode, scanner, "a", 1, 1);
}