Skip to content
This repository has been archived by the owner on Mar 29, 2018. It is now read-only.

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeredpath committed Jun 28, 2011
1 parent 7abaa8d commit e085547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/KWUserDefinedMatcherTest.m
Expand Up @@ -95,7 +95,7 @@ - (void)testCanSetTheFailureMessageForShould
}];

KWUserDefinedMatcher *matcher = [builder buildMatcherWithSubject:@"foo"];
STAssertEquals(@"failure message containing subject foo", [matcher failureMessageForShould], @"should set failure message for should");
STAssertEqualObjects(@"failure message containing subject foo", [matcher failureMessageForShould], @"should set failure message for should");
}

- (void)testCanSetTheFailureMessageForShouldNot
Expand All @@ -107,7 +107,7 @@ - (void)testCanSetTheFailureMessageForShouldNot
}];

KWUserDefinedMatcher *matcher = [builder buildMatcherWithSubject:@"foo"];
STAssertEquals(@"failure message containing subject foo", [matcher failureMessageForShouldNot], @"should set failure message for should");
STAssertEqualObjects(@"failure message containing subject foo", [matcher failureMessageForShouldNot], @"should set failure message for should");
}

@end
Expand Down

0 comments on commit e085547

Please sign in to comment.