Files
qt-creator/tests/unit/unittest
Christian Kandeler aaacfb4945 Fix a clang unit test
This particular test was apparently supposed to check that the two
occurrences of "foo" (one const, one non-const) appear next to each
other in the list of completions. However, there is only one occurrence
of "foo" and the test only succeeded because it happens to be at index 0
and -1 is returned for the second lookup, resulting in a absolute
difference of 1.
So let's explicitly check for that instead.

Change-Id: I6049689911decc114239f2be7e63b091a4a18226
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-06-11 15:24:07 +00:00
..
2020-06-11 15:24:07 +00:00
2016-11-15 15:30:33 +00:00
2017-01-31 14:18:38 +00:00
2017-01-31 14:18:38 +00:00
2020-06-10 13:34:37 +00:00
2017-10-05 17:36:37 +00:00
2017-10-05 17:36:37 +00:00
2016-09-19 15:17:54 +00:00
2019-07-04 08:41:10 +00:00
2019-07-04 08:41:10 +00:00
2016-11-23 12:16:04 +00:00
2016-11-23 12:16:04 +00:00
2016-11-15 15:30:33 +00:00
2016-09-19 15:17:54 +00:00
2016-09-19 15:17:54 +00:00
2018-09-03 14:26:05 +00:00
2017-10-05 17:36:37 +00:00
2020-05-27 13:09:27 +00:00
2020-02-03 13:57:51 +00:00
2020-06-10 13:34:37 +00:00
2020-06-05 09:52:42 +00:00
2018-01-16 15:32:15 +00:00
2016-09-19 15:17:54 +00:00