Skip to content

Commit b609e35

Browse files
committed
fix warning tests
1 parent 221d693 commit b609e35

File tree

1 file changed

+4
-4
lines changed
  • clang-tools-extra/include-cleaner/test

1 file changed

+4
-4
lines changed

clang-tools-extra/include-cleaner/test/tool.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ int x = foo();
6161

6262
// RUN: clang-include-cleaner -insert=false -print=changes %s -- -I%S/Inputs/ 2>&1 | \
6363
// RUN: FileCheck --check-prefix=DEPRECATED-INSERT %s
64-
// DEPRECATED-INSERT: [WARNING] -insert is deprecated in favor of `-disable-insert`
64+
// DEPRECATED-INSERT: warning: '-insert' is deprecated in favor of '-disable-insert'
6565
// DEPRECATED-INSERT: The old flag was confusing since it suggested that inserts
6666
// DEPRECATED-INSERT: were disabled by default, when they were actually enabled
6767

6868
// RUN: clang-include-cleaner -remove=false -print=changes %s -- -I%S/Inputs/ 2>&1 | \
6969
// RUN: FileCheck --check-prefix=DEPRECATED-REMOVE %s
70-
// DEPRECATED-REMOVE: [WARNING] -remove is deprecated in favor of `-disable-remove`
70+
// DEPRECATED-REMOVE: warning: `-remove` is deprecated in favor of `-disable-remove`
7171
// DEPRECATED-REMOVE: The old flag was confusing since it suggested that removes
7272
// DEPRECATED-REMOVE: were disabled by default, when they were actually enabled
7373

7474
// RUN: clang-include-cleaner -insert=false -remove=false -print=changes %s -- -I%S/Inputs/ 2>&1 | \
7575
// RUN: FileCheck --check-prefix=DEPRECATED-BOTH %s
76-
// DEPRECATED-BOTH: [WARNING] -insert is deprecated in favor of `-disable-insert`
77-
// DEPRECATED-BOTH: [WARNING] -remove is deprecated in favor of `-disable-remove`
76+
// DEPRECATED-BOTH: warning: -insert is deprecated in favor of '-disable-insert'
77+
// DEPRECATED-BOTH: warning: -remove is deprecated in favor of '-disable-remove'

0 commit comments

Comments
 (0)