diff --git a/googlemock/src/gmock-spec-builders.cc b/googlemock/src/gmock-spec-builders.cc index 8f8d7f9b..7b4a38bd 100644 --- a/googlemock/src/gmock-spec-builders.cc +++ b/googlemock/src/gmock-spec-builders.cc @@ -267,7 +267,7 @@ void ExpectationBase::UntypedTimes(const Cardinality& a_cardinality) { ExpectSpecProperty( last_clause_ < kTimes, ".Times() may only appear *before* .InSequence(), .WillOnce(), " - ".WillRepeatedly(), or .RetiresonSaturation(), not after."); + ".WillRepeatedly(), or .RetiresOnSaturation(), not after."); } last_clause_ = kTimes;