Permalink
Browse files

Failure output should contain full spec name (thanks @kglee79, see #64)

  • Loading branch information...
1 parent 63b911c commit 3c85dee13e4dc1a14e66e2101d7b692f54977103 @lukeredpath lukeredpath committed Nov 3, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Kiwi/KWExample.m
View
@@ -126,8 +126,8 @@ - (NSString *)descriptionForExampleContext {
}
- (KWFailure *)outputReadyFailureWithFailure:(KWFailure *)aFailure {
- NSString *annotatedFailureMessage = [NSString stringWithFormat:@"'%@' [FAILED], %@",
- [self descriptionForExampleContext],
+ NSString *annotatedFailureMessage = [NSString stringWithFormat:@"'%@ %@' [FAILED], %@",
+ [self descriptionForExampleContext], [exampleNode description],
aFailure.message];
#if TARGET_IPHONE_SIMULATOR

0 comments on commit 3c85dee

Please sign in to comment.