aboutsummaryrefslogtreecommitdiffstats
path: root/test/rexml/test_core.rb
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/rexml/test_core.rb
parent66f913572682f54eda3b0d4b78c5e9cef08043dd (diff)
downloadruby-ef339580947c7df1281263ccfb99718887e5378d.tar.gz
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/rexml/test_core.rb')
-rw-r--r--test/rexml/test_core.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rexml/test_core.rb b/test/rexml/test_core.rb
index 0865aa9747..7040ad60bf 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