File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ - (NSString *)description {
7474
7575- (BOOL )isEqual : (GTRepository *)repo {
7676 if (![repo isKindOfClass: GTRepository.class]) return NO ;
77- return [self .fileURL isEqual: repo.fileURL ];
77+ return [self .gitDirectoryURL isEqual: repo.gitDirectoryURL ];
7878}
7979
8080- (void )dealloc {
Original file line number Diff line number Diff line change 1515 __block GTCommit *secondCommit = nil ;
1616
1717 beforeEach (^{
18- repository = [GTRepository repositoryWithURL: [NSURL fileURLWithPath: TEST_REPO_PATH (self .class)] error: NULL ];
18+ repository = [GTRepository repositoryWithURL: [NSURL fileURLWithPath: TEST_APP_REPO_PATH (self .class)] error: NULL ];
1919 expect (repository).toNot .beNil ();
2020
21- firstCommit = (GTCommit *)[repository lookupObjectBySHA: @" 5b5b025afb0b4c913b4c338a42934a3863bf3644 " objectType: GTObjectTypeCommit error: NULL ];
21+ firstCommit = (GTCommit *)[repository lookupObjectBySHA: @" 8e0e65988d3007867a9f59ca8639ba975ef97e69 " objectType: GTObjectTypeCommit error: NULL ];
2222 expect (firstCommit).toNot .beNil ();
2323
24- secondCommit = (GTCommit *)[repository lookupObjectBySHA: @" 36060c58702ed4c2a40832c51758d5344201d89a " objectType: GTObjectTypeCommit error: NULL ];
24+ secondCommit = (GTCommit *)[repository lookupObjectBySHA: @" a5840674db1a58cac0b2e7d046b627837a16f217 " objectType: GTObjectTypeCommit error: NULL ];
2525 expect (secondCommit).toNot .beNil ();
2626 });
2727
Original file line number Diff line number Diff line change 1313__block GTIndex *index;
1414
1515beforeEach (^{
16- NSURL *indexURL = [[self fixtureRepositoryNamed: @" testrepo.git" ].fileURL URLByAppendingPathComponent: @" testrepo.git/ index" ];
16+ NSURL *indexURL = [[self fixtureRepositoryNamed: @" testrepo.git" ].gitDirectoryURL URLByAppendingPathComponent: @" index" ];
1717 index = [[GTIndex alloc ] initWithFileURL: indexURL error: NULL ];
1818 expect (index).notTo .beNil ();
1919
You can’t perform that action at this time.
0 commit comments