1
0
Fork 0
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:
mental 2007-01-26 01:06:49 +00:00
parent 551f277765
commit a114bc38d1
3 changed files with 6 additions and 9 deletions

View file

@ -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

View file

@ -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

View file

@ -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