You've already forked go-sqlmock
mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-06-14 23:55:00 +02:00
updates travis to validate with go fmt
This commit is contained in:
@ -354,7 +354,6 @@ func TestPreparedQueryExecutions(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func TestUnorderedPreparedQueryExecutions(t *testing.T) {
|
||||
t.Parallel()
|
||||
db, mock, err := New()
|
||||
@ -369,14 +368,14 @@ func TestUnorderedPreparedQueryExecutions(t *testing.T) {
|
||||
ExpectQuery().
|
||||
WithArgs(5).
|
||||
WillReturnRows(
|
||||
NewRows([]string{"id", "title"}).FromCSVString("5,The quick brown fox"),
|
||||
)
|
||||
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."),
|
||||
)
|
||||
NewRows([]string{"id", "title"}).FromCSVString("1,Betty B."),
|
||||
)
|
||||
|
||||
var id int
|
||||
var name string
|
||||
|
Reference in New Issue
Block a user