Skip to content

Commit

Permalink
单元测试走官方源
Browse files Browse the repository at this point in the history
  • Loading branch information
xmdhs committed Jan 29, 2024
1 parent 151b11f commit 05bbc02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions download/download_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestNewlibraries(t *testing.T) {
if err != nil {
t.Fatal(err)
}
l, err := Newlibraries(context.Background(), b, "", func(s string) { fmt.Println(s) }, launcher.Minecraft)
l, err := Newlibraries(context.Background(), b, "vanilla", func(s string) { fmt.Println(s) }, launcher.Minecraft)
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -62,7 +62,7 @@ func TestDownassets(t *testing.T) {
if err != nil {
t.Fatal(err)
}
l, err := Newlibraries(context.Background(), b, "", func(s string) { fmt.Println(s) }, launcher.Minecraft)
l, err := Newlibraries(context.Background(), b, "vanilla", func(s string) { fmt.Println(s) }, launcher.Minecraft)
if err != nil {
t.Fatal(err)
}
Expand Down
2 changes: 1 addition & 1 deletion download/unzip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func TestUnzip(t *testing.T) {
if err != nil {
t.Fatal(err)
}
l, err := Newlibraries(context.Background(), b, "", func(s string) { fmt.Println(s) }, launcher.Minecraft)
l, err := Newlibraries(context.Background(), b, "vanilla", func(s string) { fmt.Println(s) }, launcher.Minecraft)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 05bbc02

Please sign in to comment.