add quoted symbol tests; ref #3231

parent 2960c694
## ##
# Symbol ISO Test # 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('Symbol', '15.2.11') do
assert_equal Class, Symbol.class assert_equal Class, Symbol.class
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment