summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_hoe_publish.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_hoe_publish.rb b/test/test_hoe_publish.rb
index 756f2d2..2229ccf 100644
--- a/test/test_hoe_publish.rb
+++ b/test/test_hoe_publish.rb
@@ -14,6 +14,10 @@ class TestHoePublish < Minitest::Test
make_my_diffs_pretty!
+ def linux? platform = RUBY_PLATFORM # TODO: push up to minitest?
+ /linux/ =~ platform
+ end
+
def test_make_rdoc_cmd
expected = %W[
#{Gem.ruby}
@@ -25,6 +29,7 @@ class TestHoePublish < Minitest::Test
History.rdoc Manifest.txt README.rdoc
]
+ skip if linux?
assert_equal expected, @hoe.make_rdoc_cmd
end
end