mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
add quoted symbol tests; ref #3231
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
##
|
||||
# Symbol ISO Test
|
||||
|
||||
assert('Symbol') do
|
||||
assert_equal :"a", :a
|
||||
assert_equal :"a#{1}", :a1
|
||||
assert_equal :'a', :a
|
||||
assert_equal :'a#{1}', :"a\#{1}"
|
||||
end
|
||||
|
||||
assert('Symbol', '15.2.11') do
|
||||
assert_equal Class, Symbol.class
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user