fix native lib loader tests

This commit is contained in:
mvenditto 2023-07-09 18:09:58 +02:00 committed by AT
parent 4d0201ac33
commit 991b7468c9

View File

@ -31,7 +31,7 @@ public class NativeLibraryLoaderTests
[PlatformSpecificFact(Platforms.Linux)] [PlatformSpecificFact(Platforms.Linux)]
public void NativeLibraryShouldLoad_Linux() public void NativeLibraryShouldLoad_Linux()
{ {
var libraryLoader = new WindowsLibraryLoader(); var libraryLoader = new LinuxLibraryLoader();
var libraryPath = Path.Combine( var libraryPath = Path.Combine(
Environment.CurrentDirectory, Environment.CurrentDirectory,
@ -44,7 +44,7 @@ public class NativeLibraryLoaderTests
[PlatformSpecificFact(Platforms.MacOS)] [PlatformSpecificFact(Platforms.MacOS)]
public void NativeLibraryShouldLoad_MacOS() public void NativeLibraryShouldLoad_MacOS()
{ {
var libraryLoader = new WindowsLibraryLoader(); var libraryLoader = new MacOsLibraryLoader();
var libraryPath = Path.Combine( var libraryPath = Path.Combine(
Environment.CurrentDirectory, Environment.CurrentDirectory,