summaryrefslogtreecommitdiffhomepage
path: root/test/t/integer.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-06-03 09:38:39 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-06-03 09:38:39 -0700
commit0719f523048ecd6da1d28e4b2eba7794e419dd36 (patch)
treeedaae964c3e43ed52b21b009aee22860d87ff5fb /test/t/integer.rb
parent7009a1d8f5271fcd0b06a86645ad28e40c2bc5d9 (diff)
parent0c2d74020a925fa86235ae7c716aa0ede856e6e6 (diff)
downloadmruby-0719f523048ecd6da1d28e4b2eba7794e419dd36.tar.gz
mruby-0719f523048ecd6da1d28e4b2eba7794e419dd36.zip
Merge pull request #240 from bovi/superclass-improvement
Class#superclass improvement
Diffstat (limited to 'test/t/integer.rb')
-rw-r--r--test/t/integer.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/t/integer.rb b/test/t/integer.rb
index 8c112861a..872723445 100644
--- a/test/t/integer.rb
+++ b/test/t/integer.rb
@@ -5,6 +5,10 @@ assert('Integer', '15.2.8') do
Integer.class == Class
end
+assert('Integer superclass', '15.2.8.2') do
+ Integer.superclass == Numeric
+end
+
assert('Integer#+', '15.2.8.3.1') do
a = 1+1
b = 1+1.0