summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/include-fixer/ranking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/include-fixer/ranking.cpp')
-rw-r--r--clang-tools-extra/test/include-fixer/ranking.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/test/include-fixer/ranking.cpp b/clang-tools-extra/test/include-fixer/ranking.cpp
index 000f6a58c7e..2dabe16fa63 100644
--- a/clang-tools-extra/test/include-fixer/ranking.cpp
+++ b/clang-tools-extra/test/include-fixer/ranking.cpp
@@ -1,6 +1,9 @@
// RUN: clang-include-fixer -db=yaml -input=%S/Inputs/fake_yaml_db.yaml -output-headers %s -- | FileCheck %s
+// RUN: clang-include-fixer -query-symbol bar -db=yaml -input=%S/Inputs/fake_yaml_db.yaml -output-headers %s -- | FileCheck %s
// CHECK: "HeaderInfos": [
+// CHECK-NEXT: {"Header": "\"test/include-fixer/baz.h\"",
+// CHECK-NEXT: "QualifiedName": "c::bar"},
// CHECK-NEXT: {"Header": "\"../include/bar.h\"",
// CHECK-NEXT: "QualifiedName": "b::a::bar"},
// CHECK-NEXT: {"Header": "\"../include/zbar.h\"",
OpenPOWER on IntegriCloud