Skip to content

Commit

Permalink
fix: wrong sign tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Sep 2, 2024
1 parent 31c8ca0 commit 1a80020
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/core/plugin_packager/packager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ func TestWrongSign(t *testing.T) {
return
}

if err := os.WriteFile("temp/neko.yaml", neko, 0644); err != nil {
t.Errorf("failed to write neko: %s", err.Error())
return
}

origin_decoder, err := decoder.NewFSPluginDecoder("temp")
if err != nil {
t.Errorf("failed to create decoder: %s", err.Error())
Expand Down

0 comments on commit 1a80020

Please sign in to comment.