mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-04 10:04:35 +00:00
fix native lib loader tests
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user