summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTestTextProto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/unittests/Format/FormatTestTextProto.cpp')
-rw-r--r--clang/unittests/Format/FormatTestTextProto.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTestTextProto.cpp b/clang/unittests/Format/FormatTestTextProto.cpp
index 8786b270ed5..151774b9e2e 100644
--- a/clang/unittests/Format/FormatTestTextProto.cpp
+++ b/clang/unittests/Format/FormatTestTextProto.cpp
@@ -386,5 +386,9 @@ TEST_F(FormatTestTextProto, FormatsExtensions) {
" }\n"
"}");
}
+
+TEST_F(FormatTestTextProto, NoSpaceAfterPercent) {
+ verifyFormat("key: %d");
+}
} // end namespace tooling
} // end namespace clang
OpenPOWER on IntegriCloud