Skip to content

Commit 27cee5c

Browse files
committed
Fixed CID 1216439: potential copy&paste error in testing symbol database.
1 parent 610f099 commit 27cee5c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/testsymboldatabase.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2323,8 +2323,8 @@ class TestSymbolDatabase: public TestFixture {
23232323
ASSERT_EQUALS(false, ul->isFloatingType());
23242324
}
23252325
const Variable *ll = db->getVariableFromVarId(11);
2326-
ASSERT(ui != nullptr);
2327-
if (ui) {
2326+
ASSERT(ll != nullptr);
2327+
if (ll) {
23282328
ASSERT_EQUALS("ll", ll->nameToken()->str());
23292329
ASSERT_EQUALS(true, ll->isIntegralType());
23302330
ASSERT_EQUALS(false, ll->isFloatingType());

0 commit comments

Comments
 (0)