clang-format: Fix broken test.
authorDaniel Jasper <djasper@google.com>
Wed, 22 Oct 2014 09:01:12 +0000 (09:01 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 22 Oct 2014 09:01:12 +0000 (09:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220374 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Format/FormatTest.cpp

index e363c76625ee8b986ce99fbc744b772f9914595a..b19e3cb44be12b8a91dbb50639d22edfb3d1dad9 100644 (file)
@@ -3526,7 +3526,7 @@ TEST_F(FormatTest, TrailingReturnType) {
                "    -> alias::tensor<Order, T, mem::tag::cpu> {}");
   verifyFormat("auto SomeFunction(A aaaaaaaaaaaaaaaaaaaaa) const\n"
                "    -> decltype(f(aaaaaaaaaaaaaaaaaaaaa)) {}");
-  verifyFormat("auto doSomething(Aaaaaaaaaaaa) -> decltype(aaaaaa->f()) {}");
+  verifyFormat("auto doSomething(Aaaaaa *aaaaaa) -> decltype(aaaaaa->f()) {}");
 
   // Not trailing return types.
   verifyFormat("void f() { auto a = b->c(); }");