Skip to content

Commit 7fb16f3

Browse files
youge325Copilot
andcommitted
Update test/TensorTest.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 98b6ce0 commit 7fb16f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/TensorTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ TEST_F(TensorTest, Reset) {
182182
// Tensor tensor(paddle_tensor_);
183183

184184
tensor.reset();
185-
EXPECT_EQ(tensor.defined(), false);
185+
EXPECT_FALSE(tensor.defined());
186186
}
187187

188188
} // namespace test

0 commit comments

Comments
 (0)