aboutsummaryrefslogtreecommitdiffstats
path: root/config/config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/config_test.go')
-rw-r--r--config/config_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config_test.go b/config/config_test.go
index 91f7df2..7e9483f 100644
--- a/config/config_test.go
+++ b/config/config_test.go
@@ -365,6 +365,7 @@ func (s *ConfigSuite) TestRemoveUrlOptions(c *C) {
cfg.Remotes["alt"].URLs = []string{}
buf, err = cfg.Marshal()
+ c.Assert(err, IsNil)
if strings.Contains(string(buf), "url") {
c.Fatal("conifg should not contain any url sections")
}