mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-29 17:28:57 +02:00
update test infra to accomodate std::string instead of const char*
Signed-off-by: dsengupta0628 <[email protected]>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user