mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-06 18:29:05 +01:00
Fix test cases
This commit is contained in:
parent
59a7c7c5a5
commit
d89e630bc0
8 changed files with 7 additions and 6 deletions
|
@ -9,7 +9,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/juju2013/goldap"
|
"github.com/gogits/gogs/modules/ldap"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/juju2013/goldap"
|
"github.com/gogits/gogs/modules/ldap"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/juju2013/goldap"
|
"github.com/gogits/gogs/modules/ldap"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/juju2013/goldap"
|
"github.com/gogits/gogs/modules/ldap"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
|
@ -3,7 +3,7 @@ package ldap
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/johnweldon/asn1-ber"
|
"github.com/gogits/gogs/modules/asn1-ber"
|
||||||
)
|
)
|
||||||
|
|
||||||
type compileTest struct {
|
type compileTest struct {
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.google.com/p/mahonia"
|
|
||||||
"flag"
|
"flag"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
"github.com/gogits/gogs/modules/mahonia"
|
||||||
)
|
)
|
||||||
|
|
||||||
// An iconv workalike using mahonia.
|
// An iconv workalike using mahonia.
|
||||||
|
|
Loading…
Reference in a new issue