test/test_pdd.rb in pdd-0.15.2 vs test/test_pdd.rb in pdd-0.15.3
- old
+ new
@@ -1,9 +1,9 @@
# encoding: utf-8
#
-# Copyright (c) 2014 TechnoPark Corp.
-# Copyright (c) 2014 Yegor Bugayenko
+# Copyright (c) 2014-2016 TechnoPark Corp.
+# Copyright (c) 2014-2016 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -27,11 +27,11 @@
require 'tmpdir'
require 'slop'
# PDD main module test.
# Author:: Yegor Bugayenko (yegor@teamed.io)
-# Copyright:: Copyright (c) 2014 Yegor Bugayenko
+# Copyright:: Copyright (c) 2014-2016 Yegor Bugayenko
# License:: MIT
class TestPDD < Minitest::Test
def test_basic
Dir.mktmpdir 'test' do |dir|
opts = opts(['-v', '-s', dir, '-e', '**/*.png', '-r', 'max-estimate:15'])
@@ -58,9 +58,10 @@
end
end
end
def test_git_repo
+ skip if Gem.win_platform?
Dir.mktmpdir 'test' do |dir|
opts = opts(['-v', '-s', dir])
fail unless system("
set -e
cd '#{dir}'