mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/test_*.rb: Pathname#parent -> Pathname#dirname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
aaa6511a15
commit
45c950c1df
9 changed files with 20 additions and 16 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Jan 13 13:04:24 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
|
||||
|
||||
* test/test_*.rb: Pathname#parent -> Pathname#dirname.
|
||||
|
||||
Tue Jan 13 11:38:58 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/yaml/test_yaml.rb (YAML_Unit_Tests::test_spec_type_{int,float}):
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'pathname'
|
||||
require Pathname.new(__FILE__).parent.join('inlinetest.rb')
|
||||
target = __FILE__.scan(/test_(.*\.rb)$/)[0][0]
|
||||
require Pathname.new(__FILE__).dirname.join('inlinetest.rb')
|
||||
target = __FILE__[/test_(.*\.rb)$/, 1]
|
||||
InlineTest.loadtest__END__part(target)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'pathname'
|
||||
require Pathname.new(__FILE__).parent.join('inlinetest.rb')
|
||||
target = __FILE__.scan(/test_(.*\.rb)$/)[0][0]
|
||||
require Pathname.new(__FILE__).dirname.join('inlinetest.rb')
|
||||
target = __FILE__[/test_(.*\.rb)$/, 1]
|
||||
InlineTest.loadtest__END__part(target)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'pathname'
|
||||
require Pathname.new(__FILE__).parent.join('inlinetest.rb')
|
||||
target = __FILE__.scan(/test_(.*\.rb)$/)[0][0]
|
||||
require Pathname.new(__FILE__).dirname.join('inlinetest.rb')
|
||||
target = __FILE__[/test_(.*\.rb)$/, 1]
|
||||
InlineTest.loadtest(target)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'pathname'
|
||||
require Pathname.new(__FILE__).parent.join('inlinetest.rb')
|
||||
target = __FILE__.scan(/test_(.*\.rb)$/)[0][0]
|
||||
require Pathname.new(__FILE__).dirname.join('inlinetest.rb')
|
||||
target = __FILE__[/test_(.*\.rb)$/, 1]
|
||||
InlineTest.loadtest(target)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'pathname'
|
||||
require Pathname.new(__FILE__).parent.join('inlinetest.rb')
|
||||
target = __FILE__.scan(/test_(.*\.rb)$/)[0][0]
|
||||
require Pathname.new(__FILE__).dirname.join('inlinetest.rb')
|
||||
target = __FILE__[/test_(.*\.rb)$/, 1]
|
||||
InlineTest.loadtest(target)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'pathname'
|
||||
require Pathname.new(__FILE__).parent.join('inlinetest.rb')
|
||||
target = __FILE__.scan(/test_(.*\.rb)$/)[0][0]
|
||||
require Pathname.new(__FILE__).dirname.join('inlinetest.rb')
|
||||
target = __FILE__[/test_(.*\.rb)$/, 1]
|
||||
InlineTest.loadtest__END__part(target)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'pathname'
|
||||
require Pathname.new(__FILE__).parent.join('inlinetest.rb')
|
||||
target = __FILE__.scan(/test_(.*\.rb)$/)[0][0]
|
||||
require Pathname.new(__FILE__).dirname.join('inlinetest.rb')
|
||||
target = __FILE__[/test_(.*\.rb)$/, 1]
|
||||
InlineTest.loadtest(target)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'pathname'
|
||||
require Pathname.new(__FILE__).parent.join('inlinetest.rb')
|
||||
target = __FILE__.scan(/test_(.*\.rb)$/)[0][0]
|
||||
require Pathname.new(__FILE__).dirname.join('inlinetest.rb')
|
||||
target = __FILE__[/test_(.*\.rb)$/, 1]
|
||||
InlineTest.loadtest(target)
|
||||
|
|
Loading…
Reference in a new issue