summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/csv/test_csv.rb3
-rw-r--r--test/ruby/test_file.rb2
-rw-r--r--test/yaml/test_yaml.rb3
3 files changed, 3 insertions, 5 deletions
diff --git a/test/csv/test_csv.rb b/test/csv/test_csv.rb
index 96712209d1d..782f5af8d4d 100644
--- a/test/csv/test_csv.rb
+++ b/test/csv/test_csv.rb
@@ -1,5 +1,4 @@
-require 'test/unit/testsuite'
-require 'test/unit/testcase'
+require 'test/unit'
require 'tempfile'
require 'fileutils'
diff --git a/test/ruby/test_file.rb b/test/ruby/test_file.rb
index d0ba276d339..0d0ea389a4d 100644
--- a/test/ruby/test_file.rb
+++ b/test/ruby/test_file.rb
@@ -13,7 +13,7 @@ class TestFile < Test::Unit::TestCase
w.close
r = File.open(filename, "r")
begin
- if /(mswin|bccwin|mingw)/ =~ RUBY_PLATFORM
+ if /(mswin|bccwin|mingw|emx)/ =~ RUBY_PLATFORM
begin
File.unlink(filename)
assert(false)
diff --git a/test/yaml/test_yaml.rb b/test/yaml/test_yaml.rb
index 8baad11e5f5..cfb6407c29b 100644
--- a/test/yaml/test_yaml.rb
+++ b/test/yaml/test_yaml.rb
@@ -1,8 +1,7 @@
# vim:sw=4:ts=4
# $Id$
#
-require 'test/unit/testsuite'
-require 'test/unit/testcase'
+require 'test/unit'
require 'yaml'
class YAML_Unit_Tests < Test::Unit::TestCase