From 527b52f5cec6a3cb5f4f4e0185ec8881cd46916b Mon Sep 17 00:00:00 2001 From: Eusth Date: Mon, 8 Oct 2018 20:55:14 +0200 Subject: [PATCH] Fix unit tests. --- IPA.Tests/ProgramTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPA.Tests/ProgramTest.cs b/IPA.Tests/ProgramTest.cs index 1d78af8..15716a2 100644 --- a/IPA.Tests/ProgramTest.cs +++ b/IPA.Tests/ProgramTest.cs @@ -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);