fix tests for NameExpression split

also necessitates giving method name without the wrapping expression
which is simpler anyway
This commit is contained in:
Torsten Ruger
2017-01-16 09:34:47 +02:00
parent 5f7ea08a43
commit 8dbbffd58e
19 changed files with 71 additions and 93 deletions

View File

@ -11,21 +11,21 @@ module Register
def test_local
Parfait.object_space.get_main.add_local(:bar , :Integer)
@input = s(:name, :bar)
@input = s(:local, :bar)
@output = Register::RegisterValue
check
end
def test_space
@root = :name
@input = s(:name, :space)
@input = s(:known, :space)
@output = Register::RegisterValue
check
end
def test_args
Parfait.object_space.get_main.add_argument(:bar , :Integer)
@input = s(:name, :bar)
@input = s(:arg, :bar)
@output = Register::RegisterValue
check
end