update test infra to accomodate std::string instead of const char*

Signed-off-by: dsengupta0628 <[email protected]>
This commit is contained in:
dsengupta0628
2026-03-30 19:44:26 +00:00
parent 5f46ad3dfb
commit b5f647cb7f
13 changed files with 617 additions and 776 deletions
+2 -2
View File
@@ -2187,8 +2187,8 @@ TEST_F(VerilogDesignTest, EnsureGraphVerify) {
Instance *inst = child_iter->next();
Cell *cell = network->cell(inst);
EXPECT_NE(cell, nullptr);
const char *cell_name = network->name(cell);
EXPECT_NE(cell_name, nullptr);
std::string cell_name = network->name(cell);
EXPECT_FALSE(cell_name.empty());
}
delete child_iter;
}