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:
David Capello 2021-09-02 18:12:33 -03:00
parent 0ac10ee18d
commit 2c950360e8

View File

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