athunderx / internal /op /driver_test.go
Mr.L
feat: add full alist source code for Docker build
7107f0b
raw
history blame contribute delete
346 Bytes
package op_test
import (
"testing"
_ "github.com/alist-org/alist/v3/drivers"
"github.com/alist-org/alist/v3/internal/op"
)
func TestDriverItemsMap(t *testing.T) {
itemsMap := op.GetDriverInfoMap()
if len(itemsMap) != 0 {
t.Logf("driverInfoMap: %v", itemsMap)
} else {
t.Errorf("expected driverInfoMap not empty, but got empty")
}
}