fix test import path

tokarchuk/v1.17
Unknwon 9 years ago
parent 216f0477b5
commit 4c30caad1c
  1. 2
      modules/crypto/ssh/keys_test.go
  2. 2
      modules/crypto/ssh/session_test.go
  3. 2
      modules/crypto/ssh/testdata_test.go

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

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

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

Loading…
Cancel
Save