summaryrefslogtreecommitdiff
path: root/test/ruby/test_refinement.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_refinement.rb')
-rw-r--r--test/ruby/test_refinement.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/ruby/test_refinement.rb b/test/ruby/test_refinement.rb
index 49bf9073027..8908d353a57 100644
--- a/test/ruby/test_refinement.rb
+++ b/test/ruby/test_refinement.rb
@@ -2096,7 +2096,7 @@ class TestRefinement < Test::Unit::TestCase
end
}
def call
- ToProc.call &self
+ ToProc.call(&self)
end
end
@@ -2111,7 +2111,7 @@ class TestRefinement < Test::Unit::TestCase
}
def call
- ToProc.call &self
+ ToProc.call(&self)
end
end
@@ -2127,14 +2127,14 @@ class TestRefinement < Test::Unit::TestCase
}
def call
- ToProc.call &self
+ ToProc.call(&self)
end
end
class NonProc
def call
- ToProc.call &self
+ ToProc.call(&self)
end
end
@@ -2144,7 +2144,7 @@ class TestRefinement < Test::Unit::TestCase
end
def call
- ToProc.call &self
+ ToProc.call(&self)
end
end
@@ -2163,7 +2163,7 @@ class TestRefinement < Test::Unit::TestCase
}
def call
- ToProc.call &self
+ ToProc.call(&self)
end
end
@@ -2182,7 +2182,7 @@ class TestRefinement < Test::Unit::TestCase
}
def call
- ToProc.call &self
+ ToProc.call(&self)
end
end
end