mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rdoc/test_rdoc_generator_darkfish.rb: Updated tests for windows
* test/rdoc/test_rdoc_options.rb: ditto * test/rdoc/test_rdoc_parser.rb: ditto * test/rdoc/test_rdoc_rdoc.rb: ditto * test/rdoc/test_rdoc_ri_driver.rb: ditto * test/rdoc/test_rdoc_servlet.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
585de40a69
commit
ef8e0908af
7 changed files with 25 additions and 4 deletions
|
@ -248,6 +248,8 @@ class TestRDocServlet < RDoc::TestCase
|
|||
end
|
||||
|
||||
def test_if_modified_since
|
||||
skip 'File.utime on directory not supported' if Gem.win_platform?
|
||||
|
||||
temp_dir do
|
||||
now = Time.now
|
||||
File.utime now, now, '.'
|
||||
|
@ -259,6 +261,8 @@ class TestRDocServlet < RDoc::TestCase
|
|||
end
|
||||
|
||||
def test_if_modified_since_not_modified
|
||||
skip 'File.utime on directory not supported' if Gem.win_platform?
|
||||
|
||||
temp_dir do
|
||||
now = Time.now
|
||||
File.utime now, now, '.'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue