diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-04 02:17:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-04 02:17:35 +0000 |
commit | 36037442bebe0c3d970141bb2d2c487fa7e03827 (patch) | |
tree | c9319d3ce821e7e25d0a0a80d4d09ab919bc33e7 /test/lib | |
parent | fbdec8186e96c48c724ba620ec6f64128999aaf2 (diff) | |
download | ruby-36037442bebe0c3d970141bb2d2c487fa7e03827.tar.gz |
test/unit.rb: initialize instance variable
* test/lib/test/unit.rb (Test::Unit::Parallel#non_options):
initialize @jobserver instance variable to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib')
-rw-r--r-- | test/lib/test/unit.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb index 2be96fe600..c092018e16 100644 --- a/test/lib/test/unit.rb +++ b/test/lib/test/unit.rb @@ -135,6 +135,7 @@ module Test end def non_options(files, options) + @jobserver = nil if !options[:parallel] and /(?:\A|\s)--jobserver-auth=(\d+),(\d+)/ =~ ENV["MAKEFLAGS"] begin |