diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-03-11 20:56:45 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-03-11 20:56:45 -0400 |
| commit | 4dd6aa40aa6168959bef0e9d2356374a88e8c60b (patch) | |
| tree | 802ebc08f4b6d1976640bfb04711c3be127cb919 /internal | |
| parent | Tweak table cleanup logic for tests (diff) | |
| download | cli-4dd6aa40aa6168959bef0e9d2356374a88e8c60b.zip | |
Use p 1 for github workflow
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/storage/mssql_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/storage/mssql_test.go b/internal/storage/mssql_test.go index 4a99ffd..2232860 100644 --- a/internal/storage/mssql_test.go +++ b/internal/storage/mssql_test.go @@ -49,6 +49,8 @@ func TestMSSQL_TableExists(t *testing.T) { adapter := storage.MSSQLAdapter{} db, err := sql.Open("sqlserver", adapter.CreateDSN(cfg)) assert.Nil(t, err) + _, err = db.Exec("DROP TABLE IF EXISTS tmp;") + assert.Nil(t, err) t.Cleanup(func() { _, err = db.Exec("DROP TABLE IF EXISTS tmp;") assert.Nil(t, err) |