8000 fixup! Upgrade development dependencies · libgit2/libgit2sharp@8e56dae · GitHub
[go: up one dir, main page]

Skip to content

Commit 8e56dae

Browse files
committed
fixup! Upgrade development dependencies
1 parent 8a468c8 commit 8e56dae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ private static void SetUpTestEnvironment()
5656
{
5757
IsFileSystemCaseSensitive = IsFileSystemCaseSensitiveInternal();
5858

59+
string initialAssemblyLocation = new Uri(Assembly.GetExecutingAssembly().EscapedCodeBase).LocalPath;
60+
5961
const string sourceRelativePath = @"../../Resources";
60-
ResourcesDirectory = new DirectoryInfo(sourceRelativePath);
62+
ResourcesDirectory = new DirectoryInfo(Path.Combine(initialAssemblyLocation, sourceRelativePath));
6163

6264
// Setup standard paths to our test repositories
6365
BareTestRepoPath = Path.Combine(sourceRelativePath, "testrepo.git");

0 commit comments

Comments
 (0)
0