diff options
Diffstat (limited to 'clang/unittests/Format/FormatTestProto.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTestProto.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/unittests/Format/FormatTestProto.cpp b/clang/unittests/Format/FormatTestProto.cpp index 672fd5914d0..4b1480b074a 100644 --- a/clang/unittests/Format/FormatTestProto.cpp +++ b/clang/unittests/Format/FormatTestProto.cpp @@ -442,9 +442,11 @@ TEST_F(FormatTestProto, FormatsOptionsExtensions) { "};"); } -TEST_F(FormatTestProto, NoSpaceAfterPercent) { +TEST_F(FormatTestProto, SpacesAroundPercents) { verifyFormat("option (MyProto.options) = {\n" " key: %lld\n" + " key: 0x%04x\n" + " key: \"%d %d\"\n" "};"); } |