Skip to content

Commit

Permalink
review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ellraiser committed Feb 29, 2024
1 parent 4970224 commit 4a929e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion conf.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
function love.conf(t)
print("love.conf")
t.console = true
t.window.name = 'love.test'
t.window.width = 360
Expand All @@ -17,5 +18,5 @@ end
function love.errorhandler(msg)
msg = tostring(msg)
error_printer(msg, 2)
os.exit(1)
return nil
end
3 changes: 2 additions & 1 deletion tests/image.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ love.test.image.ImageData = function(test)
love.filesystem.remove('test-encode.png')

-- check encoding to an image (exr)
idata:encode('png', 'test-encode.exr')
local edata = love.image.newImageData(100, 100, 'r16f')
edata:encode('exr', 'test-encode.exr')
local read2 = love.filesystem.openFile('test-encode.exr', 'r')
test:assertNotNil(read2)
love.filesystem.remove('test-encode.exr')
Expand Down

0 comments on commit 4a929e8

Please sign in to comment.