You've already forked go-sqlxmock
							
							
				mirror of
				https://github.com/zhashkevych/go-sqlxmock.git
				synced 2025-10-30 23:27:38 +02:00 
			
		
		
		
	fixes travis build with gofmt
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user