Quick and dirty fix for Ignores test failures

This commit is contained in:
Jakob Borg 2014-11-09 22:20:20 +01:00
parent 2449723a1c
commit c959f59581
1 changed files with 5 additions and 5 deletions

View File

@ -402,7 +402,7 @@ func TestIgnores(t *testing.T) {
"quux",
}
ignores, err := m.GetIgnores("default")
ignores, _, err := m.GetIgnores("default")
if err != nil {
t.Error(err)
}
@ -418,7 +418,7 @@ func TestIgnores(t *testing.T) {
t.Error(err)
}
ignores2, err := m.GetIgnores("default")
ignores2, _, err := m.GetIgnores("default")
if err != nil {
t.Error(err)
}
@ -436,7 +436,7 @@ func TestIgnores(t *testing.T) {
t.Error(err)
}
ignores, err = m.GetIgnores("default")
ignores, _, err = m.GetIgnores("default")
if err != nil {
t.Error(err)
}
@ -445,7 +445,7 @@ func TestIgnores(t *testing.T) {
t.Errorf("Incorrect ignores: %v != %v", ignores, expected)
}
ignores, err = m.GetIgnores("doesnotexist")
ignores, _, err = m.GetIgnores("doesnotexist")
if err == nil {
t.Error("No error")
}
@ -456,7 +456,7 @@ func TestIgnores(t *testing.T) {
}
m.AddFolder(config.FolderConfiguration{ID: "fresh", Path: "XXX"})
ignores, err = m.GetIgnores("fresh")
ignores, _, err = m.GetIgnores("fresh")
if err != nil {
t.Error(err)
}