mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
fix native lib loader tests
This commit is contained in:
parent
4d0201ac33
commit
991b7468c9
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user