diff options
author | Ryan Davis <ryand-ruby@zenspider.com> | 2020-06-14 16:36:33 -0800 |
---|---|---|
committer | Ryan Davis <ryand-ruby@zenspider.com> | 2020-06-14 16:36:33 -0800 |
commit | 17ccdf66370d68434bfdaafc5ce036a43b0bf634 (patch) | |
tree | 10a6f2cbb1b5922b2f3026247301978f2d81d120 | |
parent | 8a9578c77e334d422ab15932a566c90e364cccc3 (diff) | |
download | hoe-17ccdf66370d68434bfdaafc5ce036a43b0bf634.tar.gz |
Fix broken test on linux only... stupid packaging...
[git-p4: depot-paths = "//src/hoe/dev/": change = 12746]
-rw-r--r-- | test/test_hoe_publish.rb | 5 |
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 |