1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2024-12-02 09:01:38 +02:00

Merge pull request #19 from brunoqc/patch-1

Fix typo in README
This commit is contained in:
Gediminas Morkevicius 2015-06-27 11:07:18 +03:00
commit f900b6ec8a

View File

@ -272,7 +272,7 @@ sqlmock.ExpectCommit().WillReturnError(fmt.Errorf("Deadlock occured"))
```
In same fashion, we can expect queries to match arguments. If there are any, it must be matched.
Instead of result we can return error..
Instead of result we can return error.
``` go
sqlmock.ExpectQuery("SELECT (.*) FROM orders").