aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/unittest/tokenprocessor-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unittest/tokenprocessor-test.cpp')
-rw-r--r--tests/unit/unittest/tokenprocessor-test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/unittest/tokenprocessor-test.cpp b/tests/unit/unittest/tokenprocessor-test.cpp
index 37c76d8ce6..f74fb0dbed 100644
--- a/tests/unit/unittest/tokenprocessor-test.cpp
+++ b/tests/unit/unittest/tokenprocessor-test.cpp
@@ -1326,7 +1326,7 @@ TEST_F(TokenProcessor, NonConstPointerArgument)
infos[1];
ASSERT_THAT(infos[2],
- HasOnlyType(HighlightingType::LocalVariable));
+ HasTwoTypes(HighlightingType::LocalVariable, HighlightingType::OutputArgument));
}
TEST_F(TokenProcessor, PointerToConstArgument)
@@ -1346,7 +1346,7 @@ TEST_F(TokenProcessor, ConstPointerArgument)
infos[1];
ASSERT_THAT(infos[2],
- HasOnlyType(HighlightingType::LocalVariable));
+ HasTwoTypes(HighlightingType::LocalVariable, HighlightingType::OutputArgument));
}
TEST_F(TokenProcessor, NonConstPointerGetterAsArgument)
@@ -1400,7 +1400,7 @@ TEST_F(TokenProcessor, NonConstPointerArgumentAsExpression)
infos[1];
ASSERT_THAT(infos[3],
- HasOnlyType(HighlightingType::LocalVariable));
+ HasTwoTypes(HighlightingType::LocalVariable, HighlightingType::OutputArgument));
}
TEST_F(TokenProcessor, NonConstPointerArgumentAsInstanceWithMember)