mirror of
https://github.com/zhashkevych/go-sqlxmock.git
synced 2024-11-24 08:12:13 +02:00
fixes travis build with gofmt
This commit is contained in:
parent
b2ca44a80b
commit
d335ff60c1
@ -8,7 +8,7 @@ go:
|
||||
- 1.6.x
|
||||
- 1.7.x
|
||||
- 1.8.x
|
||||
# - tip # sadly fails most of thw times
|
||||
# - tip # sadly fails most of the times
|
||||
|
||||
script:
|
||||
- go vet
|
||||
|
@ -367,15 +367,11 @@ func TestUnorderedPreparedQueryExecutions(t *testing.T) {
|
||||
mock.ExpectPrepare("SELECT (.+) FROM articles WHERE id = ?").
|
||||
ExpectQuery().
|
||||
WithArgs(5).
|
||||
WillReturnRows(
|
||||
NewRows([]string{"id", "title"}).FromCSVString("5,The quick brown fox"),
|
||||
)
|
||||
WillReturnRows(NewRows([]string{"id", "title"}).FromCSVString("5,The quick brown fox"))
|
||||
mock.ExpectPrepare("SELECT (.+) FROM authors WHERE id = ?").
|
||||
ExpectQuery().
|
||||
WithArgs(1).
|
||||
WillReturnRows(
|
||||
NewRows([]string{"id", "title"}).FromCSVString("1,Betty B."),
|
||||
)
|
||||
WillReturnRows(NewRows([]string{"id", "title"}).FromCSVString("1,Betty B."))
|
||||
|
||||
var id int
|
||||
var name string
|
||||
|
Loading…
Reference in New Issue
Block a user