1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: Ignore order of Goto locations return by clangd
Upstream has a fixed order of locations and this seems to work on all
Debian architectures autopkgtest is run on except s390x for some reason.
.
For upstream the order is important in so far as order is an important
user interface, but for us it is less of an issue and likely to trigger
with different clang versions, so we go the easy route of ignoring the
order in this test.
Author: David Kalnischkies <donkult@debian.org>
Forwarded: not-needed
--- a/ycmd/tests/clangd/subcommands_test.py
+++ b/ycmd/tests/clangd/subcommands_test.py
@@ -70,7 +70,7 @@
if isinstance( response, list ):
expect = {
'response': requests.codes.ok,
- 'data': contains_exactly( *[
+ 'data': contains_inanyorder( *[
LocationMatcher(
PathToTestFile( folder, os.path.normpath( location[ 0 ] ) ),
location[ 1 ],
|