diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-01-10 19:36:35 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-01-10 19:36:35 +0000 |
commit | 81ed2f1cd7202e84bf1f3868a60a36904499c94c (patch) | |
tree | 67b489702e57a700941ed519620a34b6d64fdfd0 /unittests/Format/FormatTest.cpp | |
parent | 75dcea57daa9bd6316a04ebdeee7c0a08781473d (diff) |
Formatter: Don't put a space in ObjC number literals like @+50
Before:
@ -4.5
Now:
@-4.5
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172095 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
-rw-r--r-- | unittests/Format/FormatTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index 077c358c22..b55cad742e 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -1402,11 +1402,10 @@ TEST_F(FormatTest, ObjCAt) { verifyFormat("@throw"); verifyFormat("@try"); - // FIXME: Make the uncommented lines below pass. verifyFormat("@\"String\""); verifyFormat("@1"); - //verifyFormat("@+4.8"); - //verifyFormat("@-4"); + verifyFormat("@+4.8"); + verifyFormat("@-4"); verifyFormat("@1LL"); verifyFormat("@.5"); verifyFormat("@'c'"); |