rename helper

This commit is contained in:
Torsten Ruger
2015-11-07 12:18:08 +02:00
parent fd7e4afb2f
commit b1939e9828
7 changed files with 48 additions and 13 deletions

View File

@ -45,7 +45,7 @@ end
HERE
@expect = [Label, LoadConstant,GetSlot,SetSlot,GetSlot,GetSlot ,SetSlot,
Label,RegisterTransfer,GetSlot,FunctionReturn]
check
check
end
def test_return_field
@ -56,6 +56,20 @@ class Object
return self.runner
end
end
HERE
@expect = [Label, GetSlot,GetSlot ,SetSlot,Label,RegisterTransfer,GetSlot,FunctionReturn]
check
end
def pest_return_space_length # need to add runtime first
@string_input = <<HERE
class Object
int main()
Layout l = space.get_layout()
return self.runner
end
end
HERE
@expect = [Label, GetSlot,GetSlot ,SetSlot,Label,RegisterTransfer,GetSlot,FunctionReturn]
check