mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-25 10:43:46 +00:00
Revert "Test crash saving palette to .jpg file"
This reverts commit 36ee80aaca585fc00baf63c58612e1d64f4df60b. Saving the .jpg palette will make the script fail anyway.
This commit is contained in:
parent
0ac10ee18d
commit
2c950360e8
@ -85,15 +85,3 @@ do
|
||||
spr:setPalette(db32)
|
||||
assert(sprPal == db32)
|
||||
end
|
||||
|
||||
-- Test crash
|
||||
do
|
||||
local p = Palette{ fromResource="DB32" }
|
||||
p:saveAs("_test_.jpg")
|
||||
|
||||
local q = Palette{ fromFile="_test_.gpl" }
|
||||
assert(#p == #q)
|
||||
for i=0,#q-1 do
|
||||
assert(p:getColor(i) == q:getColor(i))
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user