test/test_hoc.rb in hoc-0.9.0 vs test/test_hoc.rb in hoc-0.10.0
- old
+ new
@@ -1,6 +1,6 @@
-# Copyright (c) 2014-2019 Yegor Bugayenko
+# Copyright (c) 2014-2023 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
@@ -23,20 +23,20 @@
require 'tmpdir'
require 'slop'
# HOC main module test.
# Author:: Yegor Bugayenko (yegor256@gmail.com)
-# Copyright:: Copyright (c) 2014-2019 Yegor Bugayenko
+# Copyright:: Copyright (c) 2014-2023 Yegor Bugayenko
# License:: MIT
class TestHOC < Minitest::Test
def test_basic_git
skip if Gem.win_platform?
Dir.mktmpdir 'test' do |dir|
raise unless system("
set -e
cd '#{dir}'
git init .
- git config user.email test@teamed.io
+ git config user.email test@zerocracy.com
git config user.name test
echo 'hello, world!' > test.txt
git add test.txt
git commit -am test
")