From b14192e9f9ab77fd75c8fc9971158a59bd14648e Mon Sep 17 00:00:00 2001 From: Hugefiver Date: Tue, 5 Dec 2023 07:07:03 +0000 Subject: [PATCH] fix ssh module tests --- third/ssh/test/server_test.go | 2 +- third/ssh/test/sshcli_test.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/third/ssh/test/server_test.go b/third/ssh/test/server_test.go index e70241b..a7f9ad5 100644 --- a/third/ssh/test/server_test.go +++ b/third/ssh/test/server_test.go @@ -7,7 +7,7 @@ package test import ( "net" - "golang.org/x/crypto/ssh" + "github.com/hugefiver/fakessh/third/ssh" ) type exitStatusMsg struct { diff --git a/third/ssh/test/sshcli_test.go b/third/ssh/test/sshcli_test.go index ac2f7c1..c9c3c2f 100644 --- a/third/ssh/test/sshcli_test.go +++ b/third/ssh/test/sshcli_test.go @@ -13,9 +13,9 @@ import ( "runtime" "testing" - "golang.org/x/crypto/internal/testenv" - "golang.org/x/crypto/ssh" - "golang.org/x/crypto/ssh/testdata" + "github.com/hugefiver/fakessh/third/ssh" + "github.com/hugefiver/fakessh/third/ssh/testdata" + "github.com/hugefiver/fakessh/third/ssh/internal/testenv" ) func sshClient(t *testing.T) string {