summaryrefslogtreecommitdiffhomepage
path: root/test/t/symbol.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/symbol.rb')
-rw-r--r--test/t/symbol.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/t/symbol.rb b/test/t/symbol.rb
index e9c310971..b28573e92 100644
--- a/test/t/symbol.rb
+++ b/test/t/symbol.rb
@@ -5,6 +5,10 @@ assert('Symbol', '15.2.11') do
Symbol.class == Class
end
+assert('Symbol superclass', '15.2.11.2') do
+ Symbol.superclass == Object
+end
+
assert('Symbol#===', '15.2.11.3.1') do
:abc === :abc and not :abc === :cba
end