Skip to content

Commit 64b5b60

Browse files
committed
require common in test/test_all.rb. Why does it override LOAD_PATH otherwise?
1 parent b6faabe commit 64b5b60

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_all.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# $ ruby -Ilib -Itest -rrubygems test/test_all.rb
1+
# $ ruby -I../net-ssh/lib -Ilib -Itest -rrubygems test/test_all.rb
2+
#require 'net/ssh'
3+
#puts Net::SSH::Version::CURRENT
4+
require 'common'
25
Dir.chdir(File.dirname(__FILE__)) do
36
Dir['**/test_*.rb'].each { |file| require(file) }
47
end

0 commit comments

Comments
 (0)