From c6213df1c6c24205aea532e4dd00b9c463ad2a06 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 21 May 2021 15:26:32 +0200 Subject: [PATCH] Unittest: Fix source location after merge Change-Id: I671f6d8edd3d2989b0b1d1af86e2a3abac9a6c48 Reviewed-by: Christian Kandeler --- tests/unit/unittest/tokenprocessor-test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/unittest/tokenprocessor-test.cpp b/tests/unit/unittest/tokenprocessor-test.cpp index 6d183cfc1f9..ade12cb1fcf 100644 --- a/tests/unit/unittest/tokenprocessor-test.cpp +++ b/tests/unit/unittest/tokenprocessor-test.cpp @@ -1815,7 +1815,7 @@ TEST_F(TokenProcessor, CyrillicString) TEST_F(TokenProcessor, PreProcessorInStruct) { - const auto infos = translationUnit.tokenInfosInRange(sourceRange(793, 14)); + const auto infos = translationUnit.tokenInfosInRange(sourceRange(795, 14)); ASSERT_THAT(infos[1], HasOnlyType(HighlightingType::Preprocessor)); }