aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_eval.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_eval.rb')
-rw-r--r--test/ruby/test_eval.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_eval.rb b/test/ruby/test_eval.rb
index 273b3172b9..28e5cd2c25 100644
--- a/test/ruby/test_eval.rb
+++ b/test/ruby/test_eval.rb
@@ -146,7 +146,7 @@ class TestEval < Test::Unit::TestCase
assert_nothing_raised {
def temporally_method_for_test_eval_and_define_method(&block)
lambda {
- class << Object.new; self end.fcall(:define_method, :zzz, &block)
+ class << Object.new; self end.funcall(:define_method, :zzz, &block)
}
end
v = eval("temporally_method_for_test_eval_and_define_method {}")