mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +00:00
15 lines
525 B
Diff
15 lines
525 B
Diff
--- a/src/Test/L0/TestUtil.cs
|
|
+++ b/src/Test/L0/TestUtil.cs
|
|
@@ -27,11 +27,8 @@
|
|
|
|
public static string GetSrcPath()
|
|
{
|
|
- string L0dir = Path.GetDirectoryName(GetTestFilePath());
|
|
- string testDir = Path.GetDirectoryName(L0dir);
|
|
- string srcDir = Path.GetDirectoryName(testDir);
|
|
+ string srcDir = "../../../../..";
|
|
ArgUtil.Directory(srcDir, nameof(srcDir));
|
|
- Assert.Equal(Src, Path.GetFileName(srcDir));
|
|
return srcDir;
|
|
}
|