mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Always require 'thread' in tests
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@511 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
parent
551f277765
commit
a114bc38d1
3 changed files with 6 additions and 9 deletions
|
@ -1,7 +1,6 @@
|
|||
require 'test/unit'
|
||||
if RUBY_PLATFORM == "java"
|
||||
require 'thread'
|
||||
else
|
||||
require 'thread'
|
||||
if RUBY_PLATFORM != "java"
|
||||
$:.unshift File.expand_path( File.join( File.dirname( __FILE__ ), "../ext/fastthread" ) )
|
||||
require 'fastthread'
|
||||
end
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
require 'test/unit'
|
||||
if RUBY_PLATFORM == "java"
|
||||
require 'thread'
|
||||
else
|
||||
require 'thread'
|
||||
if RUBY_PLATFORM != "java"
|
||||
$:.unshift File.expand_path( File.join( File.dirname( __FILE__ ), "../ext/fastthread" ) )
|
||||
require 'fastthread'
|
||||
end
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
require 'test/unit'
|
||||
if RUBY_PLATFORM == "java"
|
||||
require 'thread'
|
||||
else
|
||||
require 'thread'
|
||||
if RUBY_PLATFORM != "java"
|
||||
$:.unshift File.expand_path( File.join( File.dirname( __FILE__ ), "../ext/fastthread" ) )
|
||||
require 'fastthread'
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue