Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a bad merge

  • Loading branch information...
commit 7f66cc74ac4f549aaf3cba8bf518eff985d35f37 1 parent 28fc8f8
@lukeredpath lukeredpath authored
Showing with 0 additions and 10 deletions.
  1. +0 −10 Kiwi/KWExampleGroupBuilder.m
View
10 Kiwi/KWExampleGroupBuilder.m
@@ -103,16 +103,6 @@ - (KWExampleSuite *)buildExampleGroups:(void (^)(void))buildingBlock
[self.contextNodeStack addObject:rootNode];
buildingBlock();
- if ([self.contextNodeStack count] > 1) {
- NSDictionary * context = [[NSDictionary alloc] initWithObjectsAndKeys:[self.contextNodeStack copy], @"contextNodeStack",
- [self.exampleGroups copy], @"exampleGroups", nil];
- [self.contextNodeStack removeAllObjects];
- self.exampleGroups = nil;
- NSException *exception = [[NSException alloc] initWithName:@"KWExampleGroupBuilderException"
- reason:@"cannot end example group with open contexts"
- userInfo:context];
- [exception raise];
- }
[self.contextNodeStack removeAllObjects];
return self.exampleSuite;
Please sign in to comment.
Something went wrong with that request. Please try again.