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 f305cc7..4573dc8 100644
--- a/test/ruby/test_object.rb
+++ b/test/ruby/test_object.rb
@@ -12,6 +12,12 @@ class TestObject < Test::Unit::TestCase
$VERBOSE = @verbose
end
+ def test_itself
+ feature6373 = '[ruby-core:44704] [Feature #6373]'
+ object = Object.new
+ assert_same(object, object.itself, feature6373)
+ end
+
def test_dup
assert_raise(TypeError) { 1.dup }
assert_raise(TypeError) { true.dup }