From 4c1e5d8755654395e7a8f5c4a01ab889ac7d01f3 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 3 Apr 2023 14:09:03 -0300 Subject: [PATCH] Add a test for -save-as with -filename-format and -split-tags Test case for the issue commented here: https://github.com/aseprite/aseprite/issues/3733#issuecomment-1494682407 --- tests/cli/save-as.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/cli/save-as.sh b/tests/cli/save-as.sh index ad9ac30ed..1f3a7c33f 100644 --- a/tests/cli/save-as.sh +++ b/tests/cli/save-as.sh @@ -302,3 +302,15 @@ $ASEPRITE -b sprites/1empty3.aseprite \ expect "a1.png a2.png b.png" "list_files $d" + +# Test https://github.com/aseprite/aseprite/issues/3733#issuecomment-1489720933 +# https://github.com/aseprite/aseprite/issues/3733#issuecomment-1494682407 +# Same as previous test, but with -filename-format with -split-tags + +d=$t/save-as-with-filename-format--and-split-tags-without-frame +$ASEPRITE -b sprites/1empty3.aseprite \ + -split-tags -filename-format "$d/{tag}.png" \ + -save-as "$d/test.png" +expect "a1.png +a2.png +b.png" "list_files $d"