small test fixes
This commit is contained in:
14
test/elf/test_somethingelse.rb
Normal file
14
test/elf/test_somethingelse.rb
Normal file
@ -0,0 +1,14 @@
|
||||
require_relative "helper"
|
||||
|
||||
module Elf
|
||||
class SomeOtherTest < FullTest
|
||||
|
||||
def test_string_put
|
||||
hello = "Hello World!\n"
|
||||
input = "return '#{hello}'.putstring"
|
||||
@stdout = hello
|
||||
@exit_code = hello.length
|
||||
check as_main(input), "hello"
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user