Browse Source

Fix unit tests.

tags/3.4
Eusth 6 years ago
parent
commit
527b52f5ce
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      IPA.Tests/ProgramTest.cs

+ 1
- 1
IPA.Tests/ProgramTest.cs View File

@@ -30,7 +30,7 @@ namespace IPA.Tests

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();
Assert.Equal(expectedPaths, outcome);


Loading…
Cancel
Save