Merge branch 'master' of github.com:philsquared/Catch

This commit is contained in:
Phil Nash 2012-05-21 21:52:00 +01:00
commit 61319a9bc1

View File

@ -129,7 +129,7 @@ namespace Catch {
{ {
u_int count; u_int count;
Method* methods = class_copyMethodList( cls, &count ); Method* methods = class_copyMethodList( cls, &count );
for( int m = 0; m < count ; m++ ) { for( u_int m = 0; m < count ; m++ ) {
SEL selector = method_getName(methods[m]); SEL selector = method_getName(methods[m]);
std::string methodName = sel_getName(selector); std::string methodName = sel_getName(selector);
if( Detail::startsWith( methodName, "Catch_TestCase_" ) ) { if( Detail::startsWith( methodName, "Catch_TestCase_" ) ) {