Skip to content

Commit 115a760

Browse files
hjanuschkanicovank
andauthored
Update clang-tools-extra/test/clang-tidy/checkers/modernize/use-starts-ends-with.cpp
Co-authored-by: Nicolas van Kempen <[email protected]>
1 parent dcb89af commit 115a760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang-tools-extra/test/clang-tidy/checkers/modernize/use-starts-ends-with.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ void test_substr() {
298298
// CHECK-MESSAGES: :[[@LINE-1]]:{{[0-9]+}}: warning: use starts_with instead of substr() == [modernize-use-starts-ends-with]
299299
// CHECK-FIXES: str.starts_with(prefix);
300300

301-
// Tests to verify macro behavior
301+
// Tests to verify macro behavior
302302
#define STARTS_WITH(X, Y) (X).substr(0, (Y).size()) == (Y)
303303
STARTS_WITH(str, prefix);
304304

0 commit comments

Comments
 (0)