summaryrefslogtreecommitdiff
path: root/test/test_set.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-02 13:58:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-02 13:58:56 +0000
commit48d402db88caa3e3d908a8691c421cf66f65a1de (patch)
tree3c2dc4d40152247d6285d068f500891f8ec6c897 /test/test_set.rb
parent4dfd71005cf4ee14db965cd155417f8657ed2c24 (diff)
use require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/test_set.rb')
-rw-r--r--test/test_set.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_set.rb b/test/test_set.rb
index 604ce93..dd4b4af 100644
--- a/test/test_set.rb
+++ b/test/test_set.rb
@@ -1,4 +1,3 @@
-require 'pathname'
-require Pathname.new(__FILE__).dirname.join('inlinetest.rb')
+require_relative 'inlinetest.rb'
target = __FILE__[/test_(.*\.rb)$/, 1]
InlineTest.loadtest__END__part(target)