summaryrefslogtreecommitdiff
path: root/test/test_ipaddr.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ipaddr.rb')
-rw-r--r--test/test_ipaddr.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_ipaddr.rb b/test/test_ipaddr.rb
index 604ce93..dd4b4af 100644
--- a/test/test_ipaddr.rb
+++ b/test/test_ipaddr.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)