summaryrefslogtreecommitdiff
path: root/bootstraptest
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-09 18:41:51 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-09 18:41:51 +0000
commitb8571b4285fc222f51d2edaaa6dedde8654e0faf (patch)
tree8fa053f13f37eb57fe0227355538b0fc2c5135fc /bootstraptest
parentd49052b5970147a90b653f76ba18bd9af7a971ed (diff)
downloadruby-b8571b4285fc222f51d2edaaa6dedde8654e0faf.tar.gz
* vm_eval.c (eval_string_with_cref): propagative filename and line_no
of binding. [ruby-dev:38767] [ruby-core:28307] * vm_core.h (rb_binding_t), proc.c: add filename and line_no fields to preserve them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest')
-rw-r--r--bootstraptest/test_eval.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstraptest/test_eval.rb b/bootstraptest/test_eval.rb
index c5ab95302b..9ae50a6d30 100644
--- a/bootstraptest/test_eval.rb
+++ b/bootstraptest/test_eval.rb
@@ -287,7 +287,7 @@ assert_normal_exit %q{
eval("", method(:proc).call {}.binding)
}
-assert_equal "(eval):1:in `block in <main>': ", %q{
+assert_equal "", %q{
b = binding
10.times{
eval('', b)