From cd3ab156a74b57432f6337f6e0405fa7f207604e Mon Sep 17 00:00:00 2001 From: Marek Kurdej Date: Fri, 14 Jan 2022 13:24:16 +0100 Subject: [PATCH] [clang-format] Fix typos in test. NFC. --- clang/unittests/Format/FormatTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 9d12731..a2470da 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -2157,7 +2157,7 @@ TEST_F(FormatTest, ForEachLoops) { " foreach (Item *item, itemlist) {}\n" " Q_FOREACH (Item *item, itemlist) {}\n" " BOOST_FOREACH (Item *item, itemlist) {}\n" - " UNKNOWN_FORACH(Item * item, itemlist) {}\n" + " UNKNOWN_FOREACH(Item * item, itemlist) {}\n" "}"); FormatStyle Style = getLLVMStyle(); @@ -2167,7 +2167,7 @@ TEST_F(FormatTest, ForEachLoops) { " foreach(Item *item, itemlist) {}\n" " Q_FOREACH(Item *item, itemlist) {}\n" " BOOST_FOREACH(Item *item, itemlist) {}\n" - " UNKNOWN_FORACH(Item * item, itemlist) {}\n" + " UNKNOWN_FOREACH(Item * item, itemlist) {}\n" "}", Style); -- 2.7.4