diff --git a/src/libraries/turtle/error.hpp b/src/libraries/turtle/error.hpp index a8ce8e2..25a19c4 100644 --- a/src/libraries/turtle/error.hpp +++ b/src/libraries/turtle/error.hpp @@ -64,7 +64,7 @@ namespace detail { ++detail::errors.count_; static std::string m; - m = "mock error : unexpected call : " + context; + m = "mock error : sequence failed : " + context; throw mock::exception( m ); } diff --git a/src/libraries/turtle/verifiable.hpp b/src/libraries/turtle/verifiable.hpp index 4f5ca3c..48da575 100644 --- a/src/libraries/turtle/verifiable.hpp +++ b/src/libraries/turtle/verifiable.hpp @@ -22,7 +22,7 @@ namespace mock // return false if verification fails virtual bool verify() = 0; - // return to the initial state where calling verify won't throw + // return to the initial state virtual void reset() = 0; }; }