fix old tests again

This commit is contained in:
Torsten Ruger
2015-05-24 16:55:03 +03:00
parent 29a34b4d24
commit 95ac024421
7 changed files with 23 additions and 11 deletions

View File

@ -33,7 +33,7 @@ class TestBasic < MiniTest::Test
def test_self
@string_input = 'self '
@output = "-Virtual::Self(:index => 3, :type => Virtual::Mystery)"
@output = "-Virtual::Self(:index => 3, :type => Virtual::Reference())"
check
end
@ -51,7 +51,7 @@ class TestBasic < MiniTest::Test
def test_string
@string_input = "\"hello\""
@output = "-Virtual::Return(:index => 5, :type => Virtual::Reference, :value => Parfait::Word('hello'))"
@output = "-Virtual::Return(:index => 5, :type => Virtual::Reference, :value => 'hello')"
check
end