@Test
public void testPrecision() throws ParseException {

  FormatOptions options = FormatOptions.parse("%.1234x", 1, 6, false);
  assertThat(options).hasWidth(-1);
  assertThat(options).hasPrecision(1234);
  assertThat(options).hasNoFlags();
}