DATA-DOG/go-sqlmock

When expectedSQL is empty it is matching with any query

sfc-gh-tvidyasankar opened this issue · 1 comments

Hi there,

When expectedSQL is empty it is matching with any query . For instance, lets say

actualSQL is "select * from foo" and expectedSQL is "", mock returns the rows successfully 

Operating system and Go Version

1.20.1

Issue

Reproduction steps

Expected Result

Actual Result

closed by #333