Clarify "Times() after X" error message
The previous error message could be misinterpreted to mean that `Times` could not be used in combination with `WillRepeatedly`, when in fact the call to `Times` just needs to happen *first*. PiperOrigin-RevId: 410070405 Change-Id: I747d34a4334cf2e56d589dcad3a08a8f322d77c8
This commit is contained in:
committed by
Copybara-Service
parent
4848324c5f
commit
1a3e2a265f
@@ -390,7 +390,7 @@ TEST(ExpectCallSyntaxTest, TimesMustBeBeforeInSequence) {
|
||||
EXPECT_CALL(a, DoA(1))
|
||||
.InSequence(s)
|
||||
.Times(1);
|
||||
}, ".Times() cannot appear after ");
|
||||
}, ".Times() may only appear *before* ");
|
||||
|
||||
a.DoA(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user