Merge pull request #1604 from carsonmcdonald/1477isatest

Add is_a? test to cover issue 1477
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-12-04 17:38:14 -08:00
+4
View File
@@ -281,6 +281,10 @@ end
assert('Kernel#is_a?', '15.3.1.3.24') do
assert_true is_a?(Kernel)
assert_false is_a?(Array)
assert_raise TypeError do
42.is_a?(42)
end
end
assert('Kernel#iterator?', '15.3.1.3.25') do