Skip to content

Commit 28a5284

Browse files
committed
Remove a warning "loading in progress, circular require considered harmful" in test
1 parent ef445c0 commit 28a5284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_all.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
#puts Net::SSH::Version::CURRENT
44
require 'common'
55
Dir.chdir(File.dirname(__FILE__)) do
6-
Dir['**/test_*.rb'].each { |file| require(file) }
6+
Dir['**/test_*.rb'].each { |file| require(file) unless file == File.basename(__FILE__) }
77
end

0 commit comments

Comments
 (0)