bitten by test order, fixed
This commit is contained in:
parent
bd2bf612ac
commit
5e04ee7212
@ -6,6 +6,11 @@ class TestCallStatement < MiniTest::Test
|
|||||||
|
|
||||||
def test_call_constant_int
|
def test_call_constant_int
|
||||||
@string_input = <<HERE
|
@string_input = <<HERE
|
||||||
|
class Integer
|
||||||
|
int putint()
|
||||||
|
return 1
|
||||||
|
end
|
||||||
|
end
|
||||||
class Object
|
class Object
|
||||||
int main()
|
int main()
|
||||||
42.putint()
|
42.putint()
|
||||||
@ -36,7 +41,7 @@ HERE
|
|||||||
def test_call_local_int
|
def test_call_local_int
|
||||||
@string_input = <<HERE
|
@string_input = <<HERE
|
||||||
class Integer
|
class Integer
|
||||||
int putstring()
|
int putint()
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user