Browse Source

fix test import path

Unknwon 9 years ago
parent
commit
4c30caad1c

+ 1 - 1
modules/crypto/ssh/keys_test.go

@@ -17,7 +17,7 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/gogits/gogs/modules/ssh/testdata"
+	"github.com/gogits/gogs/modules/crypto/ssh/testdata"
 )
 
 func rawKey(pub PublicKey) interface{} {

+ 1 - 1
modules/crypto/ssh/session_test.go

@@ -16,7 +16,7 @@ import (
 	"net"
 	"testing"
 
-	"github.com/gogits/gogs/modules/ssh/terminal"
+	"github.com/gogits/gogs/modules/crypto/ssh/terminal"
 )
 
 type serverType func(Channel, <-chan *Request, *testing.T)

+ 1 - 1
modules/crypto/ssh/testdata_test.go

@@ -12,7 +12,7 @@ import (
 	"crypto/rand"
 	"fmt"
 
-	"github.com/gogits/gogs/modules/ssh/testdata"
+	"github.com/gogits/gogs/modules/crypto/ssh/testdata"
 )
 
 var (