@Test
public void testInvalidPrintfFlags() {

  try {
    int unused = PARSER.parsePrintfTerm(null, 0, "%0s", 0, 1, 2);
    fail("expected ParseException");
  } catch (ParseException expected) {
    assertThat(expected.getMessage()).contains("[%0s]");
  }
}