Linux paths fix
This commit is contained in:
parent
c20bff382e
commit
7ff9601f52
@ -57,13 +57,13 @@ public class Tests
|
|||||||
}
|
}
|
||||||
public class FileNameGenerator : IEnumerable<object[]>
|
public class FileNameGenerator : IEnumerable<object[]>
|
||||||
{
|
{
|
||||||
private readonly string inputFolder = @"..\..\..\Input";
|
private readonly string inputFolder = @"../../../Input";
|
||||||
public IEnumerator<object[]> GetEnumerator()
|
public IEnumerator<object[]> GetEnumerator()
|
||||||
{
|
{
|
||||||
foreach (var input in Directory.GetFiles(inputFolder))
|
foreach (var input in Directory.GetFiles(inputFolder))
|
||||||
{
|
{
|
||||||
string name = Path.GetFileName(input);
|
string name = Path.GetFileName(input);
|
||||||
string output = $"..\\..\\..\\Output\\{name}.a";
|
string output = $"../../../Output/{name}.a";
|
||||||
yield return new object[] { input, output };
|
yield return new object[] { input, output };
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user