go-sqlmock icon indicating copy to clipboard operation
go-sqlmock copied to clipboard

Failed to close mock DB

Open pancudaniel7 opened this issue 11 months ago • 0 comments
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

Screenshot 2024-11-27 at 12 30 39

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"

Screenshot 2024-12-02 at 14 31 00

pancudaniel7 avatar Nov 27 '24 10:11 pancudaniel7