aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--repository/git_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/repository/git_test.go b/repository/git_test.go
index 88587a15..de442e39 100644
--- a/repository/git_test.go
+++ b/repository/git_test.go
@@ -15,12 +15,14 @@ func TestConfig(t *testing.T) {
assert.NoError(t, err)
val, err := repo.LocalConfig().ReadString("section.key")
+ assert.NoError(t, err)
assert.Equal(t, "value", val)
err = repo.LocalConfig().StoreString("section.true", "true")
assert.NoError(t, err)
val2, err := repo.LocalConfig().ReadBool("section.true")
+ assert.NoError(t, err)
assert.Equal(t, true, val2)
configs, err := repo.LocalConfig().ReadAll("section")