go-sqlmock
go-sqlmock copied to clipboard
Failed to close mock DB
trafficstars
Hi,
I am using the datadog sql mock example suite testing testify example and when the db.close() function is called it returns "Failed to close mock DB"
Operating system and Go Version
Issue
Running db.close() I receive "Failed to close mock DB"
Reproduction steps
Execute the suit test example on github using go 1.23.3 darwin/arm64
Expected Result
To close the mock db without errors
Actual Result
"Failed to close mock DB"