1
0
mirror of https://github.com/zhashkevych/go-sqlxmock.git synced 2025-06-12 21:47:29 +02:00

move options to a separate file

This commit is contained in:
Jan Was
2018-09-14 11:03:24 +02:00
parent 3cbf32d5e7
commit 168056e96a
3 changed files with 20 additions and 14 deletions

View File

@ -100,7 +100,7 @@ func TestTwoOpenConnectionsOnTheSameDSN(t *testing.T) {
func TestWithOptions(t *testing.T) {
c := &converter{}
_, mock, err := New(WithValueConverter(c))
_, mock, err := New(ValueConverterOption(c))
if err != nil {
t.Errorf("expected no error, but got: %s", err)
}