test/test_git.rb in hoc-0.6 vs test/test_git.rb in hoc-0.7

- old
+ new

@@ -29,10 +29,11 @@ # Author:: Yegor Bugayenko (yegor@teamed.io) # Copyright:: Copyright (c) 2014 Yegor Bugayenko # License:: MIT class TestGit < Minitest::Test def test_parsing + skip if Gem.win_platform? Dir.mktmpdir 'test' do |dir| fail unless system(" set -e cd '#{dir}' git init . @@ -51,10 +52,11 @@ assert_equal 4, hits[0].total end end def test_parsing_with_empty_git + skip if Gem.win_platform? Dir.mktmpdir 'test' do |dir| fail unless system(" set -e cd '#{dir}' git init . @@ -64,9 +66,10 @@ assert_equal 0, hits[0].total end end def test_ignores_binary_files + skip if Gem.win_platform? Dir.mktmpdir 'test' do |dir| fail unless system(" set -e cd '#{dir}' git init .