aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_assignment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_assignment.rb b/test/ruby/test_assignment.rb
index c6f1cd1bc7..9c0fd48725 100644
--- a/test/ruby/test_assignment.rb
+++ b/test/ruby/test_assignment.rb
@@ -106,9 +106,9 @@ class TestAssignment < Test::Unit::TestCase
o = Object.new
class << o
+ private
def foo; 42; end
def [](i); 42; end
- private
def foo=(a); 42; end
def []=(i, a); 42; end
end