[PATCH] D159051: [clang-format][NFC] Change EXPECT_EQ to verifyFormat or verifyNoChang

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 29 11:48:57 PDT 2023


owenpan added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:23933
   verifyNoChange("FOO(String-ized&Messy+But(: :Still)=Intentional);", Style);
-  EXPECT_EQ(
-      "FOO(String-ized&Messy+But\\(: :Still)=Intentional);",
-      format("FOO(String-ized&Messy+But\\(: :Still)=Intentional);", Style));
+  verifyFormat("FOO(String-ized&Messy+But\\(: :Still)=Intentional);", Style);
   verifyNoChange("FOO(String-ized&Messy+But,: :Still=Intentional);", Style);
----------------
To be consistent with the surrounding test cases. (Will fix it before landing.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159051/new/

https://reviews.llvm.org/D159051



More information about the cfe-commits mailing list