replaces imports to run with my travis config

pull/106/head
Raphael Meyer 2014-11-30 09:39:28 +01:00
parent ab973b6801
commit d8aebdb1b6
11 changed files with 16 additions and 16 deletions

View File

@ -5,7 +5,7 @@
// The following is a complete example using assert in a standard test function: // The following is a complete example using assert in a standard test function:
// import ( // import (
// "testing" // "testing"
// "github.com/stretchr/testify/assert" // "github.com/raphaelmeyer/testify/assert"
// ) // )
// //
// func TestSomething(t *testing.T) { // func TestSomething(t *testing.T) {
@ -21,7 +21,7 @@
// //
// import ( // import (
// "testing" // "testing"
// "github.com/stretchr/testify/assert" // "github.com/raphaelmeyer/testify/assert"
// ) // )
// //
// func TestSomething(t *testing.T) { // func TestSomething(t *testing.T) {

6
doc.go
View File

@ -12,7 +12,7 @@
package testify package testify
import ( import (
_ "github.com/stretchr/testify/assert" _ "github.com/raphaelmeyer/testify/assert"
_ "github.com/stretchr/testify/http" _ "github.com/raphaelmeyer/testify/http"
_ "github.com/stretchr/testify/mock" _ "github.com/raphaelmeyer/testify/mock"
) )

View File

@ -1,7 +1,7 @@
package http package http
import ( import (
"github.com/stretchr/testify/mock" "github.com/raphaelmeyer/testify/mock"
"net/http" "net/http"
) )

View File

@ -2,8 +2,8 @@ package mock
import ( import (
"fmt" "fmt"
"github.com/stretchr/objx" "github.com/raphaelmeyer/objx"
"github.com/stretchr/testify/assert" "github.com/raphaelmeyer/testify/assert"
"reflect" "reflect"
"runtime" "runtime"
"strings" "strings"

View File

@ -2,7 +2,7 @@ package mock
import ( import (
"errors" "errors"
"github.com/stretchr/testify/assert" "github.com/raphaelmeyer/testify/assert"
"testing" "testing"
) )

View File

@ -1,7 +1,7 @@
package testify package testify
import ( import (
"github.com/stretchr/testify/assert" "github.com/raphaelmeyer/testify/assert"
"testing" "testing"
) )

View File

@ -5,7 +5,7 @@
// The following is a complete example using require in a standard test function: // The following is a complete example using require in a standard test function:
// import ( // import (
// "testing" // "testing"
// "github.com/stretchr/testify/require" // "github.com/raphaelmeyer/testify/require"
// ) // )
// //
// func TestSomething(t *testing.T) { // func TestSomething(t *testing.T) {

View File

@ -1,7 +1,7 @@
package require package require
import ( import (
"github.com/stretchr/testify/assert" "github.com/raphaelmeyer/testify/assert"
"time" "time"
) )

View File

@ -32,8 +32,8 @@
// // Basic imports // // Basic imports
// import ( // import (
// "testing" // "testing"
// "github.com/stretchr/testify/assert" // "github.com/raphaelmeyer/testify/assert"
// "github.com/stretchr/testify/suite" // "github.com/raphaelmeyer/testify/suite"
// ) // )
// //
// // Define the suite, and absorb the built-in basic suite // // Define the suite, and absorb the built-in basic suite

View File

@ -8,7 +8,7 @@ import (
"regexp" "regexp"
"testing" "testing"
"github.com/stretchr/testify/assert" "github.com/raphaelmeyer/testify/assert"
) )
var matchMethod = flag.String("m", "", "regular expression to select tests of the suite to run") var matchMethod = flag.String("m", "", "regular expression to select tests of the suite to run")

View File

@ -2,7 +2,7 @@ package suite
import ( import (
"errors" "errors"
"github.com/stretchr/testify/assert" "github.com/raphaelmeyer/testify/assert"
"io/ioutil" "io/ioutil"
"os" "os"
"testing" "testing"