summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_object.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb
index 2af8f04d5b..c3e355162f 100644
--- a/test/ruby/test_object.rb
+++ b/test/ruby/test_object.rb
@@ -318,6 +318,12 @@ class TestObject < Test::Unit::TestCase
$VERBOSE = false
def (Object.new).__send__; end
INPUT
+
+ bug10421 = '[ruby-dev:48691] [Bug #10421]'
+ assert_in_out_err([], <<-INPUT, [], [], bug10421)
+ $VERBOSE = false
+ def (BasicObject.new).object_id; end
+ INPUT
end
def test_remove_method