diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp
index 54c5f27978f31ff21529f4c8a3da0b87ef8ddb45..b785d18d5239cfb0a57356d3bd561f36b49240d5 100644
--- a/unittests/Format/FormatTest.cpp
+++ b/unittests/Format/FormatTest.cpp
@@ -5326,8 +5326,8 @@ TEST_F(FormatTest, BreaksLongDeclarations) {
                "        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa>>\n"
                "        aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);");
 
-  verifyFormat("template<typename T> // Templates on own line.\n"
-               "static int           // Some comment.\n"
+  verifyFormat("template <typename T> // Templates on own line.\n"
+               "static int            // Some comment.\n"
                "MyFunction(int a);",
                getLLVMStyle());
 }