diff --git a/.gitignore b/.gitignore index 12018c1..d555d7f 100644 --- a/.gitignore +++ b/.gitignore @@ -131,7 +131,7 @@ dist .pnp.* # Ignore compiled shared object files -*.so +# *.so # Ignore coverage output files coverage.out diff --git a/pkg/plugin/manager_test.go b/pkg/plugin/manager_test.go index 10db777..8b56c97 100644 --- a/pkg/plugin/manager_test.go +++ b/pkg/plugin/manager_test.go @@ -260,21 +260,21 @@ func TestNewManagerSuccess(t *testing.T) { { name: "valid config with empty root", cfg: &ManagerConfig{ - Root: t.TempDir(), + Root: "./testdata", RemoteRoot: "", }, }, { name: "valid config with root path", cfg: &ManagerConfig{ - Root: t.TempDir(), + Root: "./testdata", RemoteRoot: "", }, }, { name: "valid config with remote root", cfg: &ManagerConfig{ - Root: t.TempDir(), + Root: "./testdata", RemoteRoot: "", }, }, @@ -404,6 +404,7 @@ func TestPublisherSuccess(t *testing.T) { if p != tt.mockPublisher { t.Errorf("Manager.Publisher() did not return the correct publisher") } + }) } } diff --git a/pkg/plugin/testdata/encrypter.so b/pkg/plugin/testdata/encrypter.so new file mode 100644 index 0000000..3b5653f Binary files /dev/null and b/pkg/plugin/testdata/encrypter.so differ