diff options
author | Tom Stellard <tstellar@redhat.com> | 2018-10-23 08:18:59 +0300 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2018-10-23 08:18:59 +0300 |
commit | 6d5c2a5a85fdb92d631ae04adefa7de96068e700 (patch) | |
tree | d4a93edef05eed6ee26ca9f34d1e773f596b57cb | |
parent | a8b61d167fdd15a8390b8ec1565e012216ef077b (diff) |
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
------------------------------------------------------------------------
llvm-svn: 345000
-rw-r--r-- | clang/bindings/python/tests/cindex/test_code_completion.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/bindings/python/tests/cindex/test_code_completion.py b/clang/bindings/python/tests/cindex/test_code_completion.py index a56bb304cd71..efc7912c915d 100644 --- a/clang/bindings/python/tests/cindex/test_code_completion.py +++ b/clang/bindings/python/tests/cindex/test_code_completion.py @@ -61,11 +61,11 @@ void f(P x, Q y) { cr = tu.codeComplete('fake.cpp', 12, 5, unsaved_files=files) expected = [ - "{'const', TypedText} || Priority: 40 || Availability: Available || Brief comment: None", - "{'volatile', TypedText} || Priority: 40 || Availability: Available || Brief comment: None", + "{'const', TypedText} || Priority: 50 || Availability: Available || Brief comment: None", + "{'volatile', TypedText} || Priority: 50 || Availability: Available || Brief comment: None", "{'operator', TypedText} || Priority: 40 || Availability: Available || Brief comment: None", - "{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None", - "{'Q', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None" + "{'P', TypedText} || Priority: 50 || Availability: Available || Brief comment: None", + "{'Q', TypedText} || Priority: 50 || Availability: Available || Brief comment: None" ] self.check_completion_results(cr, expected) |