style: shorten name operations to op

This commit is contained in:
Noah Hsu
2022-08-31 21:01:15 +08:00
parent 9ec6d5be7a
commit 7ac1d14eeb
35 changed files with 110 additions and 110 deletions

View File

@ -0,0 +1,17 @@
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")
}
}