mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-03-25 21:18:08 +02:00
Use gopkg.in import path in examples and Travis
This commit is contained in:
parent
ad9241832e
commit
3af22b4a29
@ -1,5 +1,7 @@
|
|||||||
language: go
|
language: go
|
||||||
|
|
||||||
|
go_import_path: gopkg.in/DATA-DOG/go-sqlmock.v1
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.2.x
|
- 1.2.x
|
||||||
- 1.3.x
|
- 1.3.x
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/DATA-DOG/go-sqlmock"
|
"gopkg.in/DATA-DOG/go-sqlmock.v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// a successful case
|
// a successful case
|
||||||
|
@ -8,7 +8,7 @@ import (
|
|||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/DATA-DOG/go-sqlmock"
|
"gopkg.in/DATA-DOG/go-sqlmock.v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (a *api) assertJSON(actual []byte, data interface{}, t *testing.T) {
|
func (a *api) assertJSON(actual []byte, data interface{}, t *testing.T) {
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/DATA-DOG/go-sqlmock"
|
"gopkg.in/DATA-DOG/go-sqlmock.v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// will test that order with a different status, cannot be cancelled
|
// will test that order with a different status, cannot be cancelled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user