You've already forked go-sqlxmock
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:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user