summaryrefslogtreecommitdiff
path: root/index_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'index_test.go')
-rw-r--r--index_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/index_test.go b/index_test.go
index 5fa3f9f..aea5c19 100644
--- a/index_test.go
+++ b/index_test.go
@@ -223,9 +223,9 @@ func TestIndexAddAllCallback(t *testing.T) {
checkFatal(t, err)
cbPath := ""
- err = idx.AddAll([]string{}, IndexAddDefault, func(p, mP string) int {
+ err = idx.AddAll([]string{}, IndexAddDefault, func(p, mP string) error {
cbPath = p
- return 0
+ return nil
})
checkFatal(t, err)
if cbPath != "README" {