From a8a59cffe81e32545bdd8c3bd293c4768218e691 Mon Sep 17 00:00:00 2001 From: Jerome Le Saux Date: Mon, 3 Jun 2024 13:34:56 +0200 Subject: [PATCH] fix: fix unit tests --- gfx/animate/anitmate_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gfx/animate/anitmate_test.go b/gfx/animate/anitmate_test.go index d5463dd..166fcc1 100644 --- a/gfx/animate/anitmate_test.go +++ b/gfx/animate/anitmate_test.go @@ -17,6 +17,9 @@ import ( "github.com/jeromelesaux/zx0/encode" ) +func init() { + _ = os.Mkdir("../../test", os.ModePerm) +} func TestAnimate(t *testing.T) { file := "../../samples/sonic_rotate.gif" e := config.NewMartineConfig(file, "../../test")