summaryrefslogtreecommitdiff
path: root/test/ruby/envutil.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-02 08:44:31 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-02 08:44:31 +0000
commit5197ccc3ff5b19a9aa725a1f951bb51734107d8a (patch)
tree345f704b350c77088dd7d67137203df127a65c9d /test/ruby/envutil.rb
parent083bf237596abd7b317bc891c5b6d766f299c62e (diff)
fix the number of intro lines r44123
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/envutil.rb')
-rw-r--r--test/ruby/envutil.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/envutil.rb b/test/ruby/envutil.rb
index 6ef0eb6245..d49d423ca4 100644
--- a/test/ruby/envutil.rb
+++ b/test/ruby/envutil.rb
@@ -339,7 +339,7 @@ module Test
file ||= loc.path
line ||= loc.lineno
end
- line -= 2
+ line -= 5 # lines until src
src = <<eom
# -*- coding: #{src.encoding}; -*-
require #{__dir__.dump}'/envutil';include Test::Unit::Assertions