Skip to content

Commit

Permalink
Adding a default message to the exception so that the failure test
Browse files Browse the repository at this point in the history
passes.
  • Loading branch information
hammerdr committed Aug 13, 2011
1 parent e30b230 commit a5555f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Test/OJTestFailureTest.j
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
{
test = [[OJTestCase alloc] init];
failure = [[CPException alloc] init];
failure.message = @"Unknown error";
target = [[OJTestFailure alloc] initWithTest:test exception:failure];
}

Expand Down Expand Up @@ -47,4 +48,4 @@
[OJAssert assertTrue:[target isFailure]];
}

@end
@end

0 comments on commit a5555f8

Please sign in to comment.