summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-24 13:10:46 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-24 13:10:46 +0000
commitef339580947c7df1281263ccfb99718887e5378d (patch)
tree49b17e75bae90e436884ade206c10209db785884 /test
parent66f913572682f54eda3b0d4b78c5e9cef08043dd (diff)
Use require_relative to require local library
* from 1.9 require relative path from the file must use require_relative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/rexml/rexml_test_utils.rb1
-rw-r--r--test/rexml/test_contrib.rb2
-rw-r--r--test/rexml/test_core.rb4
-rw-r--r--test/rexml/test_encoding.rb2
-rw-r--r--test/rexml/test_jaxen.rb2
-rw-r--r--test/rexml/test_light.rb2
-rw-r--r--test/rexml/test_lightparser.rb2
-rw-r--r--test/rexml/test_listener.rb10
-rw-r--r--test/rexml/test_namespace.rb2
-rw-r--r--test/rexml/test_order.rb2
-rw-r--r--test/rexml/test_rexml_issuezilla.rb2
-rw-r--r--test/rexml/test_sax.rb2
-rw-r--r--test/rexml/test_xpath.rb2
-rw-r--r--test/rss/rss-testcase.rb2
-rw-r--r--test/rss/test_1.0.rb2
-rw-r--r--test/rss/test_2.0.rb2
-rw-r--r--test/rss/test_accessor.rb2
-rw-r--r--test/rss/test_atom.rb2
-rw-r--r--test/rss/test_content.rb2
-rw-r--r--test/rss/test_dublincore.rb2
-rw-r--r--test/rss/test_image.rb2
-rw-r--r--test/rss/test_inherit.rb2
-rw-r--r--test/rss/test_itunes.rb2
-rw-r--r--test/rss/test_maker_0.9.rb2
-rw-r--r--test/rss/test_maker_1.0.rb2
-rw-r--r--test/rss/test_maker_2.0.rb2
-rw-r--r--test/rss/test_maker_atom_entry.rb2
-rw-r--r--test/rss/test_maker_atom_feed.rb2
-rw-r--r--test/rss/test_maker_content.rb2
-rw-r--r--test/rss/test_maker_dc.rb2
-rw-r--r--test/rss/test_maker_image.rb2
-rw-r--r--test/rss/test_maker_itunes.rb2
-rw-r--r--test/rss/test_maker_slash.rb2
-rw-r--r--test/rss/test_maker_sy.rb2
-rw-r--r--test/rss/test_maker_taxo.rb2
-rw-r--r--test/rss/test_maker_trackback.rb2
-rw-r--r--test/rss/test_maker_xml-stylesheet.rb2
-rw-r--r--test/rss/test_parser.rb2
-rw-r--r--test/rss/test_parser_1.0.rb2
-rw-r--r--test/rss/test_parser_2.0.rb2
-rw-r--r--test/rss/test_parser_atom_entry.rb2
-rw-r--r--test/rss/test_parser_atom_feed.rb2
-rw-r--r--test/rss/test_setup_maker_0.9.rb2
-rw-r--r--test/rss/test_setup_maker_1.0.rb2
-rw-r--r--test/rss/test_setup_maker_2.0.rb2
-rw-r--r--test/rss/test_setup_maker_atom_entry.rb2
-rw-r--r--test/rss/test_setup_maker_atom_feed.rb2
-rw-r--r--test/rss/test_setup_maker_itunes.rb2
-rw-r--r--test/rss/test_setup_maker_slash.rb2
-rw-r--r--test/rss/test_slash.rb2
-rw-r--r--test/rss/test_syndication.rb2
-rw-r--r--test/rss/test_taxonomy.rb2
-rw-r--r--test/rss/test_to_s.rb2
-rw-r--r--test/rss/test_trackback.rb2
-rw-r--r--test/rss/test_version.rb2
-rw-r--r--test/rss/test_xml-stylesheet.rb2
56 files changed, 61 insertions, 60 deletions
diff --git a/test/rexml/rexml_test_utils.rb b/test/rexml/rexml_test_utils.rb
index 916e736..57fe65c 100644
--- a/test/rexml/rexml_test_utils.rb
+++ b/test/rexml/rexml_test_utils.rb
@@ -1,3 +1,4 @@
+require 'test/unit'
module REXMLTestUtils
def fixture_path(*components)
File.join(File.dirname(__FILE__), "data", *components)
diff --git a/test/rexml/test_contrib.rb b/test/rexml/test_contrib.rb
index db7c18d..356dfc1 100644
--- a/test/rexml/test_contrib.rb
+++ b/test/rexml/test_contrib.rb
@@ -1,6 +1,6 @@
# coding: binary
-require "rexml_test_utils"
+require_relative "rexml_test_utils"
require "rexml/document"
require "rexml/parseexception"
diff --git a/test/rexml/test_core.rb b/test/rexml/test_core.rb
index 0865aa97..7040ad6 100644
--- a/test/rexml/test_core.rb
+++ b/test/rexml/test_core.rb
@@ -1,6 +1,6 @@
# coding: binary
-require "rexml_test_utils"
+require_relative "rexml_test_utils"
require "rexml/document"
require "rexml/parseexception"
@@ -9,7 +9,7 @@ require "rexml/source"
require "rexml/formatters/pretty"
require "rexml/undefinednamespaceexception"
-require "listener"
+require_relative "listener"
class Tester < Test::Unit::TestCase
include REXMLTestUtils
diff --git a/test/rexml/test_encoding.rb b/test/rexml/test_encoding.rb
index 9bcdfb3..a3fda1e 100644
--- a/test/rexml/test_encoding.rb
+++ b/test/rexml/test_encoding.rb
@@ -1,6 +1,6 @@
# coding: binary
-require "rexml_test_utils"
+require_relative "rexml_test_utils"
require 'rexml/source'
require 'rexml/document'
diff --git a/test/rexml/test_jaxen.rb b/test/rexml/test_jaxen.rb
index 222cf79..05cb818 100644
--- a/test/rexml/test_jaxen.rb
+++ b/test/rexml/test_jaxen.rb
@@ -1,4 +1,4 @@
-require 'rexml_test_utils'
+require_relative 'rexml_test_utils'
require "rexml/document"
require "rexml/xpath"
diff --git a/test/rexml/test_light.rb b/test/rexml/test_light.rb
index 1b56159..9ce0fb5 100644
--- a/test/rexml/test_light.rb
+++ b/test/rexml/test_light.rb
@@ -1,4 +1,4 @@
-require "rexml_test_utils"
+require_relative "rexml_test_utils"
require "rexml/light/node"
require "rexml/parsers/lightparser"
diff --git a/test/rexml/test_lightparser.rb b/test/rexml/test_lightparser.rb
index 1728921..c32c1b8 100644
--- a/test/rexml/test_lightparser.rb
+++ b/test/rexml/test_lightparser.rb
@@ -1,4 +1,4 @@
-require 'rexml_test_utils'
+require_relative 'rexml_test_utils'
require 'rexml/parsers/lightparser'
class LightParserTester < Test::Unit::TestCase
diff --git a/test/rexml/test_listener.rb b/test/rexml/test_listener.rb
index 0afbdcd..a3d763c 100644
--- a/test/rexml/test_listener.rb
+++ b/test/rexml/test_listener.rb
@@ -1,6 +1,6 @@
# coding: binary
-require 'rexml_test_utils'
+require_relative 'rexml_test_utils'
require 'rexml/document'
require 'rexml/streamlistener'
@@ -82,16 +82,16 @@ class BaseTester < Test::Unit::TestCase
end
def test_accents
- source = '<?xml version="1.0" encoding="ISO-8859-1"?>
+ source = %[<?xml version="1.0" encoding="ISO-8859-1"?>
<g>
-<f a="" />
-</g>'
+<f a="\xE9" />
+</g>]
doc = REXML::Document.new( source )
a = doc.elements['/g/f'].attribute('a')
if a.value.respond_to? :force_encoding
a.value.force_encoding('binary')
end
- assert_equal( 'é', a.value)
+ assert_equal( "\xC3\xA9", a.value)
doc = REXML::Document.parse_stream(
File::new(fixture_path("stream_accents.xml")),
AccentListener::new
diff --git a/test/rexml/test_namespace.rb b/test/rexml/test_namespace.rb
index 6ab16b6..f855203 100644
--- a/test/rexml/test_namespace.rb
+++ b/test/rexml/test_namespace.rb
@@ -1,4 +1,4 @@
-require "rexml_test_utils"
+require_relative "rexml_test_utils"
require "rexml/document"
diff --git a/test/rexml/test_order.rb b/test/rexml/test_order.rb
index 3f874c2..3fcbf97 100644
--- a/test/rexml/test_order.rb
+++ b/test/rexml/test_order.rb
@@ -1,4 +1,4 @@
-require 'rexml_test_utils'
+require_relative 'rexml_test_utils'
require 'rexml/document'
begin
require 'zlib'
diff --git a/test/rexml/test_rexml_issuezilla.rb b/test/rexml/test_rexml_issuezilla.rb
index a0ebfa7..2a12006 100644
--- a/test/rexml/test_rexml_issuezilla.rb
+++ b/test/rexml/test_rexml_issuezilla.rb
@@ -1,4 +1,4 @@
-require 'rexml_test_utils'
+require_relative 'rexml_test_utils'
require 'rexml/document'
class TestIssuezillaParsing < Test::Unit::TestCase
diff --git a/test/rexml/test_sax.rb b/test/rexml/test_sax.rb
index 8873e17..4a9db40 100644
--- a/test/rexml/test_sax.rb
+++ b/test/rexml/test_sax.rb
@@ -1,4 +1,4 @@
-require "rexml_test_utils"
+require_relative "rexml_test_utils"
require 'rexml/sax2listener'
require 'rexml/parsers/sax2parser'
require 'rexml/document'
diff --git a/test/rexml/test_xpath.rb b/test/rexml/test_xpath.rb
index 4ccd4ed..927909a 100644
--- a/test/rexml/test_xpath.rb
+++ b/test/rexml/test_xpath.rb
@@ -1,4 +1,4 @@
-require "rexml_test_utils"
+require_relative "rexml_test_utils"
require "rexml/document"
diff --git a/test/rss/rss-testcase.rb b/test/rss/rss-testcase.rb
index 4943fc9..2e39433 100644
--- a/test/rss/rss-testcase.rb
+++ b/test/rss/rss-testcase.rb
@@ -1,7 +1,7 @@
require "erb"
require "test/unit"
-require 'rss-assertions'
+require_relative 'rss-assertions'
require "rss"
diff --git a/test/rss/test_1.0.rb b/test/rss/test_1.0.rb
index cb9f715..758eecf 100644
--- a/test/rss/test_1.0.rb
+++ b/test/rss/test_1.0.rb
@@ -1,6 +1,6 @@
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
diff --git a/test/rss/test_2.0.rb b/test/rss/test_2.0.rb
index 5695110..37285ce 100644
--- a/test/rss/test_2.0.rb
+++ b/test/rss/test_2.0.rb
@@ -1,6 +1,6 @@
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
module RSS
class TestRSS20Core < TestCase
diff --git a/test/rss/test_accessor.rb b/test/rss/test_accessor.rb
index f2b8508..ea15316 100644
--- a/test/rss/test_accessor.rb
+++ b/test/rss/test_accessor.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/2.0"
diff --git a/test/rss/test_atom.rb b/test/rss/test_atom.rb
index e0ae108..557cb80 100644
--- a/test/rss/test_atom.rb
+++ b/test/rss/test_atom.rb
@@ -1,6 +1,6 @@
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/atom"
diff --git a/test/rss/test_content.rb b/test/rss/test_content.rb
index f59b0c8..13f22a2 100644
--- a/test/rss/test_content.rb
+++ b/test/rss/test_content.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/content"
diff --git a/test/rss/test_dublincore.rb b/test/rss/test_dublincore.rb
index dcafdd3..eb03d84 100644
--- a/test/rss/test_dublincore.rb
+++ b/test/rss/test_dublincore.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/dublincore"
diff --git a/test/rss/test_image.rb b/test/rss/test_image.rb
index 101b7ff..d8f0b26 100644
--- a/test/rss/test_image.rb
+++ b/test/rss/test_image.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/image"
diff --git a/test/rss/test_inherit.rb b/test/rss/test_inherit.rb
index f73096f..8b640dc 100644
--- a/test/rss/test_inherit.rb
+++ b/test/rss/test_inherit.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
diff --git a/test/rss/test_itunes.rb b/test/rss/test_itunes.rb
index 283459d..ec06337 100644
--- a/test/rss/test_itunes.rb
+++ b/test/rss/test_itunes.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/2.0"
require "rss/itunes"
diff --git a/test/rss/test_maker_0.9.rb b/test/rss/test_maker_0.9.rb
index c36a0be..f6e39c6 100644
--- a/test/rss/test_maker_0.9.rb
+++ b/test/rss/test_maker_0.9.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_1.0.rb b/test/rss/test_maker_1.0.rb
index b465556..b31abb9 100644
--- a/test/rss/test_maker_1.0.rb
+++ b/test/rss/test_maker_1.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_2.0.rb b/test/rss/test_maker_2.0.rb
index 530c3cc..48c0f91 100644
--- a/test/rss/test_maker_2.0.rb
+++ b/test/rss/test_maker_2.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_atom_entry.rb b/test/rss/test_maker_atom_entry.rb
index 4275bdc..9618723 100644
--- a/test/rss/test_maker_atom_entry.rb
+++ b/test/rss/test_maker_atom_entry.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_atom_feed.rb b/test/rss/test_maker_atom_feed.rb
index 58a55c4..d866001 100644
--- a/test/rss/test_maker_atom_feed.rb
+++ b/test/rss/test_maker_atom_feed.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_content.rb b/test/rss/test_maker_content.rb
index 393adcb..ba884f1 100644
--- a/test/rss/test_maker_content.rb
+++ b/test/rss/test_maker_content.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_dc.rb b/test/rss/test_maker_dc.rb
index 626ec8d..977350c 100644
--- a/test/rss/test_maker_dc.rb
+++ b/test/rss/test_maker_dc.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_image.rb b/test/rss/test_maker_image.rb
index 4fba2cf..d01654c 100644
--- a/test/rss/test_maker_image.rb
+++ b/test/rss/test_maker_image.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_itunes.rb b/test/rss/test_maker_itunes.rb
index 21a4dd1..f19e30d 100644
--- a/test/rss/test_maker_itunes.rb
+++ b/test/rss/test_maker_itunes.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_slash.rb b/test/rss/test_maker_slash.rb
index f2fbf9a..ea95a99 100644
--- a/test/rss/test_maker_slash.rb
+++ b/test/rss/test_maker_slash.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_sy.rb b/test/rss/test_maker_sy.rb
index 3f026b5..7117e3a 100644
--- a/test/rss/test_maker_sy.rb
+++ b/test/rss/test_maker_sy.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_taxo.rb b/test/rss/test_maker_taxo.rb
index c5cf18a..4c4c2e3 100644
--- a/test/rss/test_maker_taxo.rb
+++ b/test/rss/test_maker_taxo.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_trackback.rb b/test/rss/test_maker_trackback.rb
index d9fe2ad..411bf31 100644
--- a/test/rss/test_maker_trackback.rb
+++ b/test/rss/test_maker_trackback.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_maker_xml-stylesheet.rb b/test/rss/test_maker_xml-stylesheet.rb
index c1dd6f7..4f7c62a 100644
--- a/test/rss/test_maker_xml-stylesheet.rb
+++ b/test/rss/test_maker_xml-stylesheet.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_parser.rb b/test/rss/test_parser.rb
index e9ab668..833146b 100644
--- a/test/rss/test_parser.rb
+++ b/test/rss/test_parser.rb
@@ -1,6 +1,6 @@
require "tempfile"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/dublincore"
diff --git a/test/rss/test_parser_1.0.rb b/test/rss/test_parser_1.0.rb
index dca10e6..2efecda 100644
--- a/test/rss/test_parser_1.0.rb
+++ b/test/rss/test_parser_1.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/dublincore"
diff --git a/test/rss/test_parser_2.0.rb b/test/rss/test_parser_2.0.rb
index 249347d..68c7d1c 100644
--- a/test/rss/test_parser_2.0.rb
+++ b/test/rss/test_parser_2.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/2.0"
diff --git a/test/rss/test_parser_atom_entry.rb b/test/rss/test_parser_atom_entry.rb
index c2572d7..352fbbe 100644
--- a/test/rss/test_parser_atom_entry.rb
+++ b/test/rss/test_parser_atom_entry.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/atom"
diff --git a/test/rss/test_parser_atom_feed.rb b/test/rss/test_parser_atom_feed.rb
index 4358cc8..a5731b2 100644
--- a/test/rss/test_parser_atom_feed.rb
+++ b/test/rss/test_parser_atom_feed.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/atom"
diff --git a/test/rss/test_setup_maker_0.9.rb b/test/rss/test_setup_maker_0.9.rb
index 0bcb0cb..2714b9c 100644
--- a/test/rss/test_setup_maker_0.9.rb
+++ b/test/rss/test_setup_maker_0.9.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_1.0.rb b/test/rss/test_setup_maker_1.0.rb
index 9f7bb1c..0408ca9 100644
--- a/test/rss/test_setup_maker_1.0.rb
+++ b/test/rss/test_setup_maker_1.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_2.0.rb b/test/rss/test_setup_maker_2.0.rb
index 17a066a..fcf1f57 100644
--- a/test/rss/test_setup_maker_2.0.rb
+++ b/test/rss/test_setup_maker_2.0.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_atom_entry.rb b/test/rss/test_setup_maker_atom_entry.rb
index 6f3df65..ec9df5e 100644
--- a/test/rss/test_setup_maker_atom_entry.rb
+++ b/test/rss/test_setup_maker_atom_entry.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_atom_feed.rb b/test/rss/test_setup_maker_atom_feed.rb
index 978b3cf..ad2c693 100644
--- a/test/rss/test_setup_maker_atom_feed.rb
+++ b/test/rss/test_setup_maker_atom_feed.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_itunes.rb b/test/rss/test_setup_maker_itunes.rb
index 1f0372d..509d94f 100644
--- a/test/rss/test_setup_maker_itunes.rb
+++ b/test/rss/test_setup_maker_itunes.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_setup_maker_slash.rb b/test/rss/test_setup_maker_slash.rb
index 07fa5bb..cd12db9 100644
--- a/test/rss/test_setup_maker_slash.rb
+++ b/test/rss/test_setup_maker_slash.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
diff --git a/test/rss/test_slash.rb b/test/rss/test_slash.rb
index aec0a86..757e787 100644
--- a/test/rss/test_slash.rb
+++ b/test/rss/test_slash.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/slash"
diff --git a/test/rss/test_syndication.rb b/test/rss/test_syndication.rb
index 69d6f44..17875f1 100644
--- a/test/rss/test_syndication.rb
+++ b/test/rss/test_syndication.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/syndication"
diff --git a/test/rss/test_taxonomy.rb b/test/rss/test_taxonomy.rb
index 0370555..34937e4 100644
--- a/test/rss/test_taxonomy.rb
+++ b/test/rss/test_taxonomy.rb
@@ -1,6 +1,6 @@
require "cgi"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/2.0"
diff --git a/test/rss/test_to_s.rb b/test/rss/test_to_s.rb
index 4b38737..4ef83ce 100644
--- a/test/rss/test_to_s.rb
+++ b/test/rss/test_to_s.rb
@@ -1,6 +1,6 @@
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/maker"
require "rss/1.0"
diff --git a/test/rss/test_trackback.rb b/test/rss/test_trackback.rb
index 433e884..8560c25 100644
--- a/test/rss/test_trackback.rb
+++ b/test/rss/test_trackback.rb
@@ -1,7 +1,7 @@
require "cgi"
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/2.0"
diff --git a/test/rss/test_version.rb b/test/rss/test_version.rb
index 1767901..d2175ab 100644
--- a/test/rss/test_version.rb
+++ b/test/rss/test_version.rb
@@ -1,4 +1,4 @@
-require "rss-testcase"
+require_relative "rss-testcase"
module RSS
class TestVersion < TestCase
diff --git a/test/rss/test_xml-stylesheet.rb b/test/rss/test_xml-stylesheet.rb
index 6edafae..c67922f 100644
--- a/test/rss/test_xml-stylesheet.rb
+++ b/test/rss/test_xml-stylesheet.rb
@@ -1,6 +1,6 @@
require "rexml/document"
-require "rss-testcase"
+require_relative "rss-testcase"
require "rss/1.0"
require "rss/xml-stylesheet"