summaryrefslogtreecommitdiff
path: root/test/ruby/test_symbol.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_symbol.rb')
-rw-r--r--test/ruby/test_symbol.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_symbol.rb b/test/ruby/test_symbol.rb
index ba3256b820..36cbf4a710 100644
--- a/test/ruby/test_symbol.rb
+++ b/test/ruby/test_symbol.rb
@@ -518,6 +518,7 @@ class TestSymbol < Test::Unit::TestCase
def test_eq_can_be_redefined
assert_in_out_err([], <<-RUBY, ["foo"], [])
class Symbol
+ remove_method :==
def ==(obj)
"foo"
end