void () { final List<FormatStringChunk> chunks = parseNewStyleFormat("{:10}"); TestCase.assertEquals(1, chunks.size()); assertEquals(TextRange.create(0, 5), chunks.get(0).getTextRange()); assertEquals("10", ((NewStyleSubstitutionChunk)chunks.get(0)).getWidth()); }