Skip to content

Commit d6418a0

Browse files
Michael Haleschacon
authored andcommitted
don't depend on global $HOME/.gitconfig
Signed-off-by: Scott Chacon <schacon@gmail.com>
1 parent 93254e5 commit d6418a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/units/test_config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def test_read_config
2222
def test_set_config
2323
in_temp_dir do |path|
2424
g = Git.clone(@wbare, 'bare')
25-
assert_equal('Scott Chacon', g.config('user.name'))
25+
assert_not_equal('bully', g.config('user.name'))
2626
g.config('user.name', 'bully')
2727
assert_equal('bully', g.config('user.name'))
2828
end

0 commit comments

Comments
 (0)