[python] [tests] Update test_code_completion

Update expected completions to match output generated by clang-7.0.

Differential Revision: https://reviews.llvm.org/D50171

llvm-svn: 342897
This commit is contained in:
Michal Gorny 2018-09-24 16:10:25 +00:00
parent 662e5686fe
commit 248319db40
1 changed files with 4 additions and 4 deletions

View File

@ -61,11 +61,11 @@ void f(P x, Q y) {
cr = tu.codeComplete('fake.cpp', 12, 5, unsaved_files=files) cr = tu.codeComplete('fake.cpp', 12, 5, unsaved_files=files)
expected = [ expected = [
"{'const', TypedText} || Priority: 40 || Availability: Available || Brief comment: None", "{'const', TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
"{'volatile', TypedText} || Priority: 40 || Availability: Available || Brief comment: None", "{'volatile', TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
"{'operator', TypedText} || Priority: 40 || Availability: Available || Brief comment: None", "{'operator', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
"{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None", "{'P', TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
"{'Q', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None" "{'Q', TypedText} || Priority: 50 || Availability: Available || Brief comment: None"
] ]
self.check_completion_results(cr, expected) self.check_completion_results(cr, expected)