From 135846946f3b46c1591f4f12571110783db8812d Mon Sep 17 00:00:00 2001 From: mat007 Date: Tue, 1 Sep 2009 10:14:00 +0000 Subject: [PATCH] Clean-up git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@17 860be788-9bd5-4423-9f1e-828f051e677b --- src/libraries/turtle/error.hpp | 2 +- src/libraries/turtle/verifiable.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }; }