The PR #1683 fix to TestList used a literal column-name regex that doesn't match the actual List() query. sqlmock uses regex matching: - Actual query uses COALESCE(name,'') wrappers - Literal 'name' doesn't match 'COALESCE(name,'')' - Also missing WHERE clause and LIMIT Revert to the flexible pattern used on main (SELECT id, prefix.*) with explicit LIMIT allowance — proven working on main branch. TestValidate_HappyPath 3-column fix is kept. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| tokens_test.go | ||
| tokens.go | ||