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
This commit is contained in:
David Capello 2023-04-03 14:09:03 -03:00
parent 83ddb6018e
commit 4c1e5d8755

View File

@ -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"