Fixed regression

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@664 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2013-05-21 06:28:30 +00:00
parent 1abb1d5495
commit 24530c4e3c

View file

@ -98,12 +98,12 @@ namespace detail
} }
expectation& at_least( std::size_t min ) expectation& at_least( std::size_t min )
{ {
i_ = boost::make_shared< detail::exactly >( min ); i_ = boost::make_shared< detail::at_least >( min );
return *this; return *this;
} }
expectation& at_most( std::size_t max ) expectation& at_most( std::size_t max )
{ {
i_ = boost::make_shared< detail::exactly >( max ); i_ = boost::make_shared< detail::at_most >( max );
return *this; return *this;
} }
expectation& between( std::size_t min, std::size_t max ) expectation& between( std::size_t min, std::size_t max )