We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a bug on this line https://github.com/DATA-DOG/go-sqlmock/blob/master/sqlmock.go#L256
if expected.txOpts != nil && expected.txOpts.Isolation != opts.Isolation && expected.txOpts.ReadOnly != opts.ReadOnly { return nil, fmt.Errorf("expected transaction options do not match: %+v, got: %+v", expected.txOpts, opts) }
but should be:
if expected.txOpts != nil && (expected.txOpts.Isolation != opts.Isolation || expected.txOpts.ReadOnly != opts.ReadOnly) { return nil, fmt.Errorf("expected transaction options do not match: %+v, got: %+v", expected.txOpts, opts) }
The text was updated successfully, but these errors were encountered:
@ninadingole please check
Sorry, something went wrong.
No branches or pull requests
There is a bug on this line https://github.com/DATA-DOG/go-sqlmock/blob/master/sqlmock.go#L256
but should be:
The text was updated successfully, but these errors were encountered: