Skip to content

Commit d335ff6

Browse files
committed
fixes travis build with gofmt
1 parent b2ca44a commit d335ff6

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ go:
88
- 1.6.x
99
- 1.7.x
1010
- 1.8.x
11-
# - tip # sadly fails most of thw times
11+
# - tip # sadly fails most of the times
1212

1313
script:
1414
- go vet

sqlmock_test.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -367,15 +367,11 @@ func TestUnorderedPreparedQueryExecutions(t *testing.T) {
367367
mock.ExpectPrepare("SELECT (.+) FROM articles WHERE id = ?").
368368
ExpectQuery().
369369
WithArgs(5).
370-
WillReturnRows(
371-
NewRows([]string{"id", "title"}).FromCSVString("5,The quick brown fox"),
372-
)
370+
WillReturnRows(NewRows([]string{"id", "title"}).FromCSVString("5,The quick brown fox"))
373371
mock.ExpectPrepare("SELECT (.+) FROM authors WHERE id = ?").
374372
ExpectQuery().
375373
WithArgs(1).
376-
WillReturnRows(
377-
NewRows([]string{"id", "title"}).FromCSVString("1,Betty B."),
378-
)
374+
WillReturnRows(NewRows([]string{"id", "title"}).FromCSVString("1,Betty B."))
379375

380376
var id int
381377
var name string

0 commit comments

Comments
 (0)