[PATCH] D39838: [clang] [python] [tests] Update priority values in code completion test

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 9 12:18:01 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL317828: [python] [tests] Update priority values in code completion test (authored by mgorny).

Changed prior to commit:
  https://reviews.llvm.org/D39838?vs=122227&id=122304#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D39838

Files:
  cfe/trunk/bindings/python/tests/cindex/test_code_completion.py


Index: cfe/trunk/bindings/python/tests/cindex/test_code_completion.py
===================================================================
--- cfe/trunk/bindings/python/tests/cindex/test_code_completion.py
+++ cfe/trunk/bindings/python/tests/cindex/test_code_completion.py
@@ -68,8 +68,8 @@
     cr = tu.codeComplete('fake.cpp', 13, 5, unsaved_files=files)
     expected = [
         "{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None",
-        "{'P &', ResultType} | {'operator=', TypedText} | {'(', LeftParen} | {'const P &', Placeholder} | {')', RightParen} || Priority: 34 || Availability: Available || Brief comment: None",
+        "{'P &', ResultType} | {'operator=', TypedText} | {'(', LeftParen} | {'const P &', Placeholder} | {')', RightParen} || Priority: 79 || Availability: Available || Brief comment: None",
         "{'int', ResultType} | {'member', TypedText} || Priority: 35 || Availability: NotAccessible || Brief comment: None",
-        "{'void', ResultType} | {'~P', TypedText} | {'(', LeftParen} | {')', RightParen} || Priority: 34 || Availability: Available || Brief comment: None"
+        "{'void', ResultType} | {'~P', TypedText} | {'(', LeftParen} | {')', RightParen} || Priority: 79 || Availability: Available || Brief comment: None"
     ]
     check_completion_results(cr, expected)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39838.122304.patch
Type: text/x-patch
Size: 1361 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171109/e945b335/attachment.bin>


More information about the cfe-commits mailing list