summaryrefslogtreecommitdiff
path: root/test/rdoc/test_rdoc_rdoc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rdoc/test_rdoc_rdoc.rb')
-rw-r--r--test/rdoc/test_rdoc_rdoc.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/rdoc/test_rdoc_rdoc.rb b/test/rdoc/test_rdoc_rdoc.rb
index fd6b3f81e4..b0a0fadc49 100644
--- a/test/rdoc/test_rdoc_rdoc.rb
+++ b/test/rdoc/test_rdoc_rdoc.rb
@@ -157,6 +157,8 @@ class TestRDocRDoc < RDoc::TestCase
end
def test_parse_file_forbidden
+ skip 'chmod not supported' if Gem.win_platform?
+
@rdoc.store = RDoc::Store.new
Tempfile.open 'test.txt' do |io|
@@ -196,7 +198,7 @@ class TestRDocRDoc < RDoc::TestCase
def test_remove_unparseable_tags_emacs
temp_dir do
- open 'TAGS', 'w' do |io| # emacs
+ open 'TAGS', 'wb' do |io| # emacs
io.write "\f\nlib/foo.rb,43\n"
end