You've already forked go-sqlmock
mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-06-16 23:57:35 +02:00
add 1.6 to travis
This commit is contained in:
@ -5,7 +5,7 @@ go:
|
|||||||
- 1.3
|
- 1.3
|
||||||
- 1.4
|
- 1.4
|
||||||
- 1.5
|
- 1.5
|
||||||
- release
|
- 1.6
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
script: go test -race
|
script: go test -race
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// +build go1.6
|
||||||
|
|
||||||
package sqlmock
|
package sqlmock
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -5,8 +7,6 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +build go1.6
|
|
||||||
|
|
||||||
func TestExpectedPreparedStatemtCloseError(t *testing.T) {
|
func TestExpectedPreparedStatemtCloseError(t *testing.T) {
|
||||||
conn, mock, err := New()
|
conn, mock, err := New()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user