git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@17 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2009-09-01 10:14:00 +00:00
parent 8015fb8a9f
commit 135846946f
2 changed files with 2 additions and 2 deletions

View file

@ -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 );
}

View file

@ -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;
};
}