8000 Remove commented tests we now have · libgit2/objective-git@bf4015e · GitHub
[go: up one dir, main page]

Skip to content

Commit bf4015e

Browse files
committed
Remove commented tests we now have
1 parent cbf5a64 commit bf4015e

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

ObjectiveGitTests/GTBranchSpec.m

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -307,29 +307,6 @@
307307
});
308308
});
309309

310-
// TODO: Test branch renaming, branch upstream
311-
//- (void)testCanRenameBranch {
312-
//
313-
// NSError *error = nil;
314-
// GTRepository *repo = [GTRepository repoByOpeningRepositoryInDirectory:[NSURL URLWithString:TEST_REPO_PATH()] error:&error];
315-
// STAssertNil(error, [error localizedDescription]);
316-
//
317-
// NSArray *branches = [GTBranch listAllLocalBranchesInRepository:repo error:&error];
318-
// STAssertNotNil(branches, [error localizedDescription], nil);
319-
// STAssertEquals(2, (int)branches.count, nil);
320-
//
321-
// NSString *newBranchName = [NSString stringWithFormat:@"%@%@", [GTBranch localNamePrefix], @"this_is_the_renamed_branch"];
322-
// GTBranch *firstBranch = [branches objectAtIndex:0];
323-
// NSString *originalBranchName = firstBranch.name;
324-
// BOOL success = [firstBranch.reference setName:newBranchName error:&error];
325-
// STAssertTrue(success, [error localizedDescription]);
326-
// STAssertEqualObjects(firstBranch.name, newBranchName, nil);
327-
//
328-
// success = [firstBranch.reference setName:originalBranchName error:&error];
329-
// STAssertTrue(success, [error localizedDescription]);
330-
// STAssertEqualObjects(firstBranch.name, originalBranchName, nil);
331-
//}
332-
333310
afterEach(^{
334311
[self tearDown];
335312
});

0 commit comments

Comments
 (0)
0