Skip to content
Browse files

Use an array instead of a set to make the spec order deterministic.

  • Loading branch information...
1 parent aa12bc9 commit 8eda09efa1ef0e61c79e06e2dd081c4e98b85a68 @lukeredpath lukeredpath committed Oct 19, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 Kiwi/KWExampleSuite.h
  2. +1 −1 Kiwi/KWExampleSuite.m
View
2 Kiwi/KWExampleSuite.h
@@ -15,7 +15,7 @@
@interface KWExampleSuite : NSObject <KWExampleNodeVisitor> {
KWContextNode *rootNode;
- NSMutableSet *examples;
+ NSMutableArray *examples;
}
- (id)initWithRootNode:(KWContextNode *)contextNode;
- (void)addExample:(KWExample *)example;
View
2 Kiwi/KWExampleSuite.m
@@ -22,7 +22,7 @@ - (id)initWithRootNode:(KWContextNode *)contextNode
{
if ((self = [super init])) {
rootNode = [contextNode retain];
- examples = [[NSMutableSet alloc] init];
+ examples = [[NSMutableArray alloc] init];
}
return self;
}

0 comments on commit 8eda09e

Please sign in to comment.
Something went wrong with that request. Please try again.