test: fill remaining V1 test coverage
Add JSONB, pointer/filter, MustFetchOne, and dialect logger registration tests for dbxm and dbxp. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package dbxp_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"gitea.auvem.com/go-toolkit/dbx"
|
||||
"gitea.auvem.com/go-toolkit/dbx/internal/dbxshared"
|
||||
_ "gitea.auvem.com/go-toolkit/dbx/dbxp"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestPostgresDebugLoggerRegistered(t *testing.T) {
|
||||
err := dbxshared.InitLogger(dbx.DialectPostgres)
|
||||
assert.NoError(t, err)
|
||||
}
|
||||
Reference in New Issue
Block a user