Browse Source

modified: tests/ut/ge/graph/passes/replace_with_empty_const_pass_unittest.cc

tags/v1.2.0
zhaoxinxin 3 years ago
parent
commit
d07364e444
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/ut/ge/graph/passes/replace_with_empty_const_pass_unittest.cc

+ 1
- 1
tests/ut/ge/graph/passes/replace_with_empty_const_pass_unittest.cc View File

@@ -76,7 +76,7 @@ TEST_F(UtestReplaceWithEmptyConstPass, replace_whith_empty_const_success) {


// run pass on const1, graph still has 5 nodes // run pass on const1, graph still has 5 nodes
auto const1 = graph->FindNode("const1"); auto const1 = graph->FindNode("const1");
Status ret = replace_with_empty_const_pass.Run(const1);
ret = replace_with_empty_const_pass.Run(const1);
EXPECT_EQ(ret, SUCCESS); EXPECT_EQ(ret, SUCCESS);
EXPECT_EQ(graph->GetDirectNodesSize(),5); EXPECT_EQ(graph->GetDirectNodesSize(),5);




Loading…
Cancel
Save