mirror of
https://github.com/stretchr/testify.git
synced 2025-05-31 11:42:44 +00:00
replace imports in travis config to not break to origin
This commit is contained in:
parent
dd6cea14e4
commit
43f1d3eeb3
@ -6,6 +6,9 @@ go:
|
|||||||
- 1.3
|
- 1.3
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- find -iname "*.go" -type f -print0 | xargs -0 sed -i 's/stretchr\/testify/raphaelmeyer\/testify/g'
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- go test -v ./...
|
- go test -v ./...
|
||||||
|
|
||||||
|
@ -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/raphaelmeyer/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// )
|
// )
|
||||||
//
|
//
|
||||||
// func TestSomething(t *testing.T) {
|
// func TestSomething(t *testing.T) {
|
||||||
@ -21,7 +21,7 @@
|
|||||||
//
|
//
|
||||||
// import (
|
// import (
|
||||||
// "testing"
|
// "testing"
|
||||||
// "github.com/raphaelmeyer/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// )
|
// )
|
||||||
//
|
//
|
||||||
// func TestSomething(t *testing.T) {
|
// func TestSomething(t *testing.T) {
|
||||||
|
6
doc.go
6
doc.go
@ -12,7 +12,7 @@
|
|||||||
package testify
|
package testify
|
||||||
|
|
||||||
import (
|
import (
|
||||||
_ "github.com/raphaelmeyer/testify/assert"
|
_ "github.com/stretchr/testify/assert"
|
||||||
_ "github.com/raphaelmeyer/testify/http"
|
_ "github.com/stretchr/testify/http"
|
||||||
_ "github.com/raphaelmeyer/testify/mock"
|
_ "github.com/stretchr/testify/mock"
|
||||||
)
|
)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package http
|
package http
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/raphaelmeyer/testify/mock"
|
"github.com/stretchr/testify/mock"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package mock
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/stretchr/objx"
|
"github.com/stretchr/objx"
|
||||||
"github.com/raphaelmeyer/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"reflect"
|
"reflect"
|
||||||
"runtime"
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -2,7 +2,7 @@ package mock
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"github.com/raphaelmeyer/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package testify
|
package testify
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/raphaelmeyer/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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/raphaelmeyer/testify/require"
|
// "github.com/stretchr/testify/require"
|
||||||
// )
|
// )
|
||||||
//
|
//
|
||||||
// func TestSomething(t *testing.T) {
|
// func TestSomething(t *testing.T) {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package require
|
package require
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/raphaelmeyer/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
// // Basic imports
|
// // Basic imports
|
||||||
// import (
|
// import (
|
||||||
// "testing"
|
// "testing"
|
||||||
// "github.com/raphaelmeyer/testify/assert"
|
// "github.com/stretchr/testify/assert"
|
||||||
// "github.com/raphaelmeyer/testify/suite"
|
// "github.com/stretchr/testify/suite"
|
||||||
// )
|
// )
|
||||||
//
|
//
|
||||||
// // Define the suite, and absorb the built-in basic suite
|
// // Define the suite, and absorb the built-in basic suite
|
||||||
|
@ -8,7 +8,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/raphaelmeyer/testify/assert"
|
"github.com/stretchr/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")
|
||||||
|
@ -2,7 +2,7 @@ package suite
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"github.com/raphaelmeyer/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user