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"
"log"
"github.com/juju2013/goldap"
"github.com/gogits/gogs/modules/ldap"
)
var (

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

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

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

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

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

@ -8,7 +8,7 @@ import (
"fmt"
"log"
"github.com/juju2013/goldap"
"github.com/gogits/gogs/modules/ldap"
)
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 (
"testing"
"github.com/johnweldon/asn1-ber"
"github.com/gogits/gogs/modules/asn1-ber"
)
type compileTest struct {

3
modules/mahonia/mahoniconv/mahoniconv.go

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

Loading…
Cancel
Save