renamed true,false,nil class to constant (from value)

This commit is contained in:
Torsten Ruger
2014-09-14 18:15:33 +03:00
parent 6b85054958
commit c51dbf51e1
3 changed files with 7 additions and 7 deletions

View File

@ -11,17 +11,17 @@ class TestBasic < MiniTest::Test
def test_true
@string_input = 'true '
@output = "---RETURN_MARKER- !ruby/object:Virtual::TrueValue {}RETURN_MARKER"
@output = "---RETURN_MARKER- !ruby/object:Virtual::TrueConstant {}RETURN_MARKER"
check
end
def test_false
@string_input = 'false '
@output = "---RETURN_MARKER- !ruby/object:Virtual::FalseValue {}RETURN_MARKER"
@output = "---RETURN_MARKER- !ruby/object:Virtual::FalseConstant {}RETURN_MARKER"
check
end
def test_nil
@string_input = 'nil '
@output = "---RETURN_MARKER- !ruby/object:Virtual::NilValue {}RETURN_MARKER"
@output = "---RETURN_MARKER- !ruby/object:Virtual::NilConstant {}RETURN_MARKER"
check
end