Skip to content
Permalink
Browse files
add quoted symbol tests; ref #3231
  • Loading branch information
matz committed Nov 4, 2016
1 parent 2960c69 commit 46995c32643fc04d098c095e0f509e08f67c0e38
Showing 1 changed file with 7 additions and 0 deletions.
@@ -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

0 comments on commit 46995c3

Please sign in to comment.