Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alist-org
GitHub Repository: alist-org/alist
Path: blob/main/internal/op/driver_test.go
1560 views
1
package op_test
2
3
import (
4
"testing"
5
6
_ "github.com/alist-org/alist/v3/drivers"
7
"github.com/alist-org/alist/v3/internal/op"
8
)
9
10
func TestDriverItemsMap(t *testing.T) {
11
itemsMap := op.GetDriverInfoMap()
12
if len(itemsMap) != 0 {
13
t.Logf("driverInfoMap: %v", itemsMap)
14
} else {
15
t.Errorf("expected driverInfoMap not empty, but got empty")
16
}
17
}
18
19