aboutsummaryrefslogtreecommitdiffstats
path: root/repository/git_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-07-08 12:14:41 +0200
committerMichael Muré <batolettre@gmail.com>2019-07-08 12:14:41 +0200
commit76db2f42ebc356a0c347558133dc67ff6cb0d72d (patch)
treea5a9bad26e42a807869d24b4488a90c6e7104d9e /repository/git_test.go
parentbb68b391a0fe5ff868b76725142cd351bee41b1c (diff)
downloadgit-bug-76db2f42ebc356a0c347558133dc67ff6cb0d72d.tar.gz
repository: rework how RmConfigs works with git
Diffstat (limited to 'repository/git_test.go')
-rw-r--r--repository/git_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository/git_test.go b/repository/git_test.go
index 8bd3aa8e..20bf6ec3 100644
--- a/repository/git_test.go
+++ b/repository/git_test.go
@@ -55,7 +55,7 @@ func TestConfig(t *testing.T) {
assert.Error(t, err)
err = repo.RmConfigs("section")
- assert.NoError(t, err)
+ assert.Error(t, err)
_, err = repo.ReadConfigString("section.key")
assert.Error(t, err)