summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/t/symbol.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/t/symbol.rb b/test/t/symbol.rb
index b0252849d..9059f45c2 100644
--- a/test/t/symbol.rb
+++ b/test/t/symbol.rb
@@ -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