mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-03-27 17:47:29 -07:00
34 lines
1.8 KiB
Diff
34 lines
1.8 KiB
Diff
From c083c4bbe436bb0db520998e035ec384dd87e0ad Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
|
Date: Thu, 2 Aug 2018 10:25:10 +0200
|
|
Subject: [PATCH] [python] [tests] Update test_code_completion
|
|
|
|
Update expected completions to match output generated by clang-7.0.
|
|
---
|
|
bindings/python/tests/cindex/test_code_completion.py | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/bindings/python/tests/cindex/test_code_completion.py b/bindings/python/tests/cindex/test_code_completion.py
|
|
index a56bb304cd..efc7912c91 100644
|
|
--- a/tests/cindex/test_code_completion.py
|
|
+++ b/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)
|
|
|
|
--
|
|
2.19.0
|
|
|