Browse Source

fix test import path

pull/1676/merge
Unknwon 9 years ago
parent
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

2
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{} {

2
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)

2
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 (

Loading…
Cancel
Save