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