1
0

Linux paths fix

This commit is contained in:
Serghei Cebotari 2023-08-13 15:49:53 +03:00
parent c20bff382e
commit 7ff9601f52

View File

@ -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 };
} }
} }