aboutsummaryrefslogtreecommitdiff
path: root/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
-rw-r--r--unittests/Format/FormatTest.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp
index 1d9363dc2e..077c358c22 100644
--- a/unittests/Format/FormatTest.cpp
+++ b/unittests/Format/FormatTest.cpp
@@ -1232,16 +1232,15 @@ TEST_F(FormatTest, FormatObjCInterface) {
"+ (id)init;\n"
"@end");
- // FIXME: there should be a space before '(' for categories.
- verifyFormat("@interface Foo(HackStuff)\n"
+ verifyFormat("@interface Foo (HackStuff)\n"
"+ (id)init;\n"
"@end");
- verifyFormat("@interface Foo()\n"
+ verifyFormat("@interface Foo ()\n"
"+ (id)init;\n"
"@end");
- verifyFormat("@interface Foo(HackStuff)<MyProtocol>\n"
+ verifyFormat("@interface Foo (HackStuff)<MyProtocol>\n"
"+ (id)init;\n"
"@end");
@@ -1263,19 +1262,19 @@ TEST_F(FormatTest, FormatObjCInterface) {
"+ (id)init;\n"
"@end");
- verifyFormat("@interface Foo(HackStuff) {\n"
+ verifyFormat("@interface Foo (HackStuff) {\n"
" int _i;\n"
"}\n"
"+ (id)init;\n"
"@end");
- verifyFormat("@interface Foo() {\n"
+ verifyFormat("@interface Foo () {\n"
" int _i;\n"
"}\n"
"+ (id)init;\n"
"@end");
- verifyFormat("@interface Foo(HackStuff)<MyProtocol> {\n"
+ verifyFormat("@interface Foo (HackStuff)<MyProtocol> {\n"
" int _i;\n"
"}\n"
"+ (id)init;\n"
@@ -1341,8 +1340,7 @@ TEST_F(FormatTest, FormatObjCImplementation) {
"+ (id)init {}\n"
"@end");
- // FIXME: there should be a space before '(' for categories.
- verifyFormat("@implementation Foo(HackStuff)\n"
+ verifyFormat("@implementation Foo (HackStuff)\n"
"+ (id)init {}\n"
"@end");
}