17 lines
251 B
Go
17 lines
251 B
Go
package test
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/Xhofe/alist/conf"
|
|
"github.com/Xhofe/alist/utils"
|
|
"testing"
|
|
)
|
|
|
|
func TestStr(t *testing.T) {
|
|
fmt.Println(".password-"[10:])
|
|
}
|
|
|
|
func TestWriteYml(t *testing.T) {
|
|
utils.WriteToYml("../conf.yml", conf.Conf)
|
|
}
|