Skip to content

Commit 23fdc9b

Browse files
committed
Fix submodule test failure
1 parent fd83f4c commit 23fdc9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ObjectiveGitTests/GTSubmoduleSpec.m

+2-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@
246246

247247
__block NSError *error = nil;
248248
expect(@([submodule sync:&error])).to(beTruthy());
249-
expect([config stringForKey:configKey]).to(equal(@"../Test_App"));
249+
NSString *submoduleURL = [[[repo.fileURL URLByAppendingPathComponent:@"../Test_App"] URLByResolvingSymlinksInPath] path];
250+
expect([config stringForKey:configKey]).to(equal(submoduleURL));
250251
});
251252
});
252253

0 commit comments

Comments
 (0)