test core.stringify
This commit is contained in:
parent
7d1a91705b
commit
717e04549e
1 changed files with 7 additions and 0 deletions
|
@ -24,4 +24,11 @@ class TestParser < Test::Unit::TestCase
|
|||
{ value: 'test', type: :string }],
|
||||
args
|
||||
end
|
||||
|
||||
def test_stringify
|
||||
assert_equal '∞',
|
||||
Rpl::Lang.stringify( { value: Float::INFINITY,
|
||||
base: 10,
|
||||
type: :numeric } )
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue