Fix unit tests.
This commit is contained in:
parent
f74896c8ac
commit
527b52f5ce
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ namespace IPA.Tests
|
||||||
|
|
||||||
public void CopiesCorrectly(string from, string to, string nativeFolder, bool isFlat, string[] expected)
|
public void CopiesCorrectly(string from, string to, string nativeFolder, bool isFlat, string[] expected)
|
||||||
{
|
{
|
||||||
var outcome = Program.NativePluginInterceptor(new FileInfo(from), new FileInfo(to), new DirectoryInfo(nativeFolder), isFlat).Select(f => f.FullName).ToList();
|
var outcome = Program.NativePluginInterceptor(new FileInfo(from), new FileInfo(to), new DirectoryInfo(nativeFolder), isFlat, Program.Architecture.Unknown).Select(f => f.FullName).ToList();
|
||||||
|
|
||||||
var expectedPaths = expected.Select(e => new FileInfo(e)).Select(f => f.FullName).ToList();
|
var expectedPaths = expected.Select(e => new FileInfo(e)).Select(f => f.FullName).ToList();
|
||||||
Assert.Equal(expectedPaths, outcome);
|
Assert.Equal(expectedPaths, outcome);
|
||||||
|
|
Loading…
Reference in a new issue