fix bug when 0 * other object

This commit is contained in:
ksss
2014-03-16 23:08:31 +09:00
parent 18bebd3acd
commit 9dcce29749
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -31,6 +31,9 @@ assert('Integer#*', '15.2.8.3.3') do
assert_equal 1, a
assert_equal 1.0, b
assert_raise(TypeError){ 0*nil }
assert_raise(TypeError){ 1*nil }
end
assert('Integer#/', '15.2.8.3.4') do