Skip to content

Commit 4d14fd0

Browse files
Update testtoken.cpp
1 parent 58f5ea8 commit 4d14fd0

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

test/testtoken.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,11 +1483,6 @@ class TestToken : public TestFixture {
14831483
tok.str("char"); // not treated as keyword in TokenList::isKeyword()
14841484
assert_tok(&tok, Token::Type::eType, /*l=*/ false, /*std=*/ true);
14851485
}
1486-
{
1487-
TokenList list_c{settingsDefault, Standards::Language::C};
1488-
auto tokensFrontBack = std::make_shared<TokensFrontBack>();
1489-
Token tok(list_c, std::move(tokensFrontBack));
1490-
}
14911486
}
14921487

14931488
void update_property_info_etype_cpp() const
@@ -1499,11 +1494,6 @@ class TestToken : public TestFixture {
14991494
tok.str("bool"); // not treated as keyword in TokenList::isKeyword()
15001495
assert_tok(&tok, Token::Type::eType, /*l=*/ false, /*std=*/ true);
15011496
}
1502-
{
1503-
TokenList list_cpp{settingsDefault, Standards::Language::CPP};
1504-
auto tokensFrontBack = std::make_shared<TokensFrontBack>();
1505-
Token tok(list_cpp, std::move(tokensFrontBack));
1506-
}
15071497
}
15081498

15091499
void update_property_info_replace() const // #13743

0 commit comments

Comments
 (0)