Matchers macro uses Catch::Matchers namespace internally - so it doesn't have to be declared with "using" first

This commit is contained in:
Phil Nash
2012-05-24 08:29:03 +01:00
parent 1c98fc98ef
commit 7035b55832
5 changed files with 13 additions and 7 deletions

View File

@@ -60,7 +60,6 @@ void useObject( const T& object ){}
template<typename T>
void useObject( const T* object ){}
using namespace Catch::Matchers;
OC_TEST_CASE( "OCTest/matchers", "Matches work with OC types (NSString so far)" )
{
REQUIRE_THAT( @"This is a string", Equals( @"This is a string" ) );