Browse Source

Fix test cases

pull/451/head
Unknwon 10 years ago
parent
commit
d89e630bc0
  1. 0
      modules/ldap/_examples/enterprise.ldif
  2. 2
      modules/ldap/_examples/modify.go
  3. 2
      modules/ldap/_examples/search.go
  4. 2
      modules/ldap/_examples/searchSSL.go
  5. 2
      modules/ldap/_examples/searchTLS.go
  6. 0
      modules/ldap/_examples/slapd.conf
  7. 2
      modules/ldap/filter_test.go
  8. 3
      modules/mahonia/mahoniconv/mahoniconv.go

0
modules/ldap/examples/enterprise.ldif → modules/ldap/_examples/enterprise.ldif

2
modules/ldap/examples/modify.go → modules/ldap/_examples/modify.go

@ -9,7 +9,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/juju2013/goldap" "github.com/gogits/gogs/modules/ldap"
) )
var ( var (

2
modules/ldap/examples/search.go → modules/ldap/_examples/search.go

@ -8,7 +8,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/juju2013/goldap" "github.com/gogits/gogs/modules/ldap"
) )
var ( var (

2
modules/ldap/examples/searchSSL.go → modules/ldap/_examples/searchSSL.go

@ -8,7 +8,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/juju2013/goldap" "github.com/gogits/gogs/modules/ldap"
) )
var ( var (

2
modules/ldap/examples/searchTLS.go → modules/ldap/_examples/searchTLS.go

@ -8,7 +8,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/juju2013/goldap" "github.com/gogits/gogs/modules/ldap"
) )
var ( var (

0
modules/ldap/examples/slapd.conf → modules/ldap/_examples/slapd.conf

2
modules/ldap/filter_test.go

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

3
modules/mahonia/mahoniconv/mahoniconv.go

@ -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…
Cancel
Save