Skip to content

Commit

Permalink
Update count of branches in GITRepo test
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Garside <geoff@geoffgarside.co.uk>
  • Loading branch information
chapados authored and geoffgarside committed Jun 17, 2009
1 parent e6ad9f1 commit 9b8861e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UnitTests/Source/GITRepoTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ - (void)testShouldLoadDataForHash
- (void)testBranchesInRepo
{
NSArray *branches = [repo branches];
GHAssertTrue([branches count] == 2, @"Repo should have two branches");
GHAssertTrue([branches count] == 7, @"Repo should have 7 branches");
NSArray *names = [branches valueForKey:@"name"];
GHAssertTrue([names containsObject:@"refs/heads/ruby"], @"There should be a 'ruby' branch");
GHAssertTrue([names containsObject:@"refs/heads/master"], @"There should be a 'master' branch");
Expand Down

0 comments on commit 9b8861e

Please sign in to comment.