Skip to content

Commit

Permalink
U: command-line, gen_test
Browse files Browse the repository at this point in the history
  • Loading branch information
sxmxta committed Apr 30, 2024
1 parent 7eef643 commit c24b9e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/internal/gen/gen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package gen
import (
"encoding/json"
"github.com/energye/energy/v2/cmd/internal/project"
"io/fs"
"os"
"path/filepath"
"testing"
Expand All @@ -13,6 +14,7 @@ func TestIcon(t *testing.T) {
testdata := filepath.Join(wd, "testdata")
icon := filepath.Join(testdata, "Go-Energy.png")
outPath := filepath.Join(wd, "out")
os.MkdirAll(outPath, fs.ModePerm)
println("wd:", wd)
outPath, err := GeneraICON(icon, outPath)
if err != nil {
Expand Down

0 comments on commit c24b9e2

Please sign in to comment.