mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-23 18:47:03 +08:00
13
internal/offline_download/all_test.go
Normal file
13
internal/offline_download/all_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package offline_download
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestGetFiles(t *testing.T) {
|
||||
files, err := GetFiles("..")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
for _, file := range files {
|
||||
t.Log(file.Name, file.Size, file.Path)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user