Skip to content

Commit 2354635

Browse files
committed
fix: correct test case
1 parent 2510247 commit 2354635

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit-tests/printing/TypeScopeIterator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ namespace
472472
[[maybe_unused]] auto& iter)
473473
{
474474
#if MIMICPP_DETAIL_IS_GCC
475-
auto const nameScope = visitor();
475+
auto const nameScope = iter();
476476
CHECK(nameScope);
477477
CHECK_FALSE(nameScope->functionInfo);
478478
CHECK_FALSE(nameScope->templateInfo);

0 commit comments

Comments
 (0)