test/test_svn.rb in hoc-0.7.1 vs test/test_svn.rb in hoc-0.7.2
- old
+ new
@@ -1,9 +1,9 @@
# encoding: utf-8
#
-# Copyright (c) 2014 Teamed.io
-# Copyright (c) 2014 Yegor Bugayenko
+# Copyright (c) 2014-2017 Teamed.io
+# Copyright (c) 2014-2017 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
@@ -25,17 +25,17 @@
require 'hoc/svn'
require 'tmpdir'
# Svn test.
# Author:: Yegor Bugayenko (yegor@teamed.io)
-# Copyright:: Copyright (c) 2014 Yegor Bugayenko
+# Copyright:: Copyright (c) 2014-2017 Yegor Bugayenko
# License:: MIT
class TestSvn < Minitest::Test
def test_parsing
skip if Gem.win_platform?
Dir.mktmpdir 'test' do |dir|
- fail unless system("
+ raise unless system("
set -e
cd '#{dir}'
svnadmin create base
svn co file://#{dir}/base repo
cd repo
@@ -55,10 +55,10 @@
end
def test_parsing_empty_repo
skip('fails now')
Dir.mktmpdir 'test' do |dir|
- fail unless system("
+ raise unless system("
set -e
cd '#{dir}'
svnadmin create base
svn co file://#{dir}/base repo
cd repo