sample4_unittest.cc wrong comment? "Have side effect" or "not have side effect"? #4177
Unanswered
chjfth
asked this question in
Community Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In current sample4_unittest.cc ,
googletest/googletest/samples/sample4_unittest.cc
Line 43 in 2d4f208
The code is simiple:
But I doubt the comment word is wrong. Since
EXPECT_EQ
is exactly once,EXPECT_EQ
should have NO side effect, right?Beta Was this translation helpful? Give feedback.
All reactions