支持了实际类型显示,优化dbopen

This commit is contained in:
2024-09-16 23:21:27 +08:00
parent e3609aab14
commit 823d0a871d
4 changed files with 252 additions and 37 deletions

View File

@@ -15,8 +15,8 @@ func TestGetBDVersion(t *testing.T) {
}
func TestBD(t *testing.T) {
db := BDOpen("path")
if db == nil {
db, err := BDOpen("path")
if err != nil {
t.Errorf("Expected non-nil DBStruct, got nil")
return
}