Skip to content

Commit f286144

Browse files
committed
Merging r342897:
------------------------------------------------------------------------ r342897 | mgorny | 2018-09-24 09:10:25 -0700 (Mon, 24 Sep 2018) | 5 lines [python] [tests] Update test_code_completion Update expected completions to match output generated by clang-7.0. Differential Revision: https://reviews.llvm.org/D50171 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_70@345000 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent b2338d4 commit f286144

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bindings/python/tests/cindex/test_code_completion.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ class Q : public P {
6161
cr = tu.codeComplete('fake.cpp', 12, 5, unsaved_files=files)
6262

6363
expected = [
64-
"{'const', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
65-
"{'volatile', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
64+
"{'const', TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
65+
"{'volatile', TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
6666
"{'operator', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
67-
"{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None",
68-
"{'Q', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None"
67+
"{'P', TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
68+
"{'Q', TypedText} || Priority: 50 || Availability: Available || Brief comment: None"
6969
]
7070
self.check_completion_results(cr, expected)
7171

0 commit comments

Comments
 (0)