Fix bad test coverage
One typo, one debug test Also stop producing those object files, use in memory io
This commit is contained in:
@@ -11,8 +11,12 @@ module Elf
|
||||
|
||||
def test_empty_translate
|
||||
writer = Elf::ObjectWriter.new(@linker )
|
||||
writer.save "test/zero.o"
|
||||
writer.save StringIO.new
|
||||
end
|
||||
|
||||
def test_empty_translate_with_debug
|
||||
writer = Elf::ObjectWriter.new(@linker , debug: true )
|
||||
writer.save StringIO.new
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user