Browse Source

fix test import path

tags/v1.2.0-rc1
Unknwon 9 years ago
parent
commit
022c186a28
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      modules/crypto/ssh/keys_test.go
  2. +1
    -1
      modules/crypto/ssh/session_test.go
  3. +1
    -1
      modules/crypto/ssh/testdata_test.go

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

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


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

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


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

@@ -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