Make test more lenient for custom clang version strings
[llvm-project.git] / clang-tools-extra / test / clang-include-fixer / query_symbol.cpp
blob84c3a2373bd9cf91d6395f5df2871684074f7812
1 // RUN: clang-include-fixer -db=fixed -input='foo= "foo.h","bar.h"' -query-symbol="foo" test.cpp -- | FileCheck %s
3 // CHECK: "FilePath": "test.cpp",
4 // CHECK-NEXT:"QuerySymbolInfos": [
5 // CHECK-NEXT: {"RawIdentifier": "foo",
6 // CHECK-NEXT: "Range":{"Offset":0,"Length":0}}
7 // CHECK-NEXT:],
8 // CHECK-NEXT:"HeaderInfos": [
9 // CHECK-NEXT: {"Header": "\"foo.h\"",
10 // CHECK-NEXT: "QualifiedName": "foo"},
11 // CHECK-NEXT: {"Header": "\"bar.h\"",
12 // CHECK-NEXT: "QualifiedName": "foo"}
13 // CHECK-NEXT:]