mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix test cases
This commit is contained in:
		@@ -9,7 +9,7 @@ import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"log"
 | 
			
		||||
 | 
			
		||||
	"github.com/juju2013/goldap"
 | 
			
		||||
	"github.com/gogits/gogs/modules/ldap"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
@@ -8,7 +8,7 @@ import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"log"
 | 
			
		||||
 | 
			
		||||
	"github.com/juju2013/goldap"
 | 
			
		||||
	"github.com/gogits/gogs/modules/ldap"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
@@ -8,7 +8,7 @@ import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"log"
 | 
			
		||||
 | 
			
		||||
	"github.com/juju2013/goldap"
 | 
			
		||||
	"github.com/gogits/gogs/modules/ldap"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
@@ -8,7 +8,7 @@ import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"log"
 | 
			
		||||
 | 
			
		||||
	"github.com/juju2013/goldap"
 | 
			
		||||
	"github.com/gogits/gogs/modules/ldap"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
var (
 | 
			
		||||
@@ -3,7 +3,7 @@ package ldap
 | 
			
		||||
import (
 | 
			
		||||
	"testing"
 | 
			
		||||
 | 
			
		||||
	"github.com/johnweldon/asn1-ber"
 | 
			
		||||
	"github.com/gogits/gogs/modules/asn1-ber"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
type compileTest struct {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,11 +1,12 @@
 | 
			
		||||
package main
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
	"code.google.com/p/mahonia"
 | 
			
		||||
	"flag"
 | 
			
		||||
	"io"
 | 
			
		||||
	"log"
 | 
			
		||||
	"os"
 | 
			
		||||
 | 
			
		||||
	"github.com/gogits/gogs/modules/mahonia"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// An iconv workalike using mahonia.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user