feat: format project layout

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-04-01 15:00:56 +08:00
parent f8b1de4666
commit 1c81220967
29 changed files with 420 additions and 2746 deletions
+9
View File
@@ -44,6 +44,15 @@ func TestPickChromium(t *testing.T) {
}
}
func TestGetChromiumItemAbsPath(t *testing.T) {
p := `/Library/Application Support/Google/Chrome/`
s, err := getChromiumItemPath(p, defaultChromiumItems)
if err != nil {
panic(err)
}
fmt.Println(s)
}
func TestPickBrowsers(t *testing.T) {
browsers := PickBrowser("all")
for _, v := range browsers {