summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-18 02:06:39 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-18 02:06:39 +0000
commitc2606d23c5cb25bdddf8e32a811da773b82b2d60 (patch)
treef06155f153b8e8dec89c1bc46dc13d5d27e2f4e9 /test/ruby
parente814e2ff3a6a970e88843cc6ff1e161075931e8e (diff)
Show $LOAD_PATH and RUBYLIB to debug easier
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_require.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_require.rb b/test/ruby/test_require.rb
index bbfc6e619c..3d6981d303 100644
--- a/test/ruby/test_require.rb
+++ b/test/ruby/test_require.rb
@@ -509,7 +509,7 @@ class TestRequire < Test::Unit::TestCase
$: << a
begin
require "foo"
- p :ng
+ p [:ng, $LOAD_PATH, ENV['RUBYLIB']]
rescue LoadError
end
def a.to_path
@@ -534,7 +534,7 @@ class TestRequire < Test::Unit::TestCase
$: << a
begin
require "foo"
- p :ng
+ p [:ng, $LOAD_PATH, ENV['RUBYLIB']]
rescue LoadError
end
def a.to_str