This commit is contained in:
Gwenhael Le Moine 2022-02-02 15:19:14 +01:00
parent 6907e8b9dc
commit e96c3f94de
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -31,7 +31,7 @@ class TestLanguageProgram < Test::Unit::TestCase
def test_vars
lang = Rpl::Language.new
lang.run '« 2 dup * » \'quatre\' sto 1 \'un\' sto vars'
assert_equal [{ value: ['quatre', 'un'], type: :list }],
assert_equal [{ value: %w[quatre un], type: :list }],
lang.stack
end