diff options
Diffstat (limited to 'backup/caching_test.go')
| -rw-r--r-- | backup/caching_test.go | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/backup/caching_test.go b/backup/caching_test.go index 6dad62b..9445703 100644 --- a/backup/caching_test.go +++ b/backup/caching_test.go @@ -3,6 +3,7 @@ package backup  import (  	"code.laria.me/petrific/cache"  	"code.laria.me/petrific/fs" +	"code.laria.me/petrific/logging"  	"code.laria.me/petrific/objects"  	"code.laria.me/petrific/storage/memory"  	"testing" @@ -20,7 +21,7 @@ func TestCacheMTime(t *testing.T) {  	}  	want := file.ModTime() -	if _, err := WriteDir(st, "/foo", filesys, c); err != nil { +	if _, err := WriteDir(st, "/foo", filesys, c, logging.NewNopLog()); err != nil {  		t.Fatal(err)  	} @@ -52,7 +53,7 @@ func TestCacheRetrieve(t *testing.T) {  	mtime := file.ModTime().Add(1 * time.Hour)  	c.SetPathUpdated("/foo/bar", mtime, objid_emptyfile) -	if _, err := WriteDir(st, "/foo", filesys, c); err != nil { +	if _, err := WriteDir(st, "/foo", filesys, c, logging.NewNopLog()); err != nil {  		t.Fatal(err)  	} | 
