diff --git a/archive/archive_test.go b/archive/archive_test.go index b9051fe6ae..e05cd72e49 100644 --- a/archive/archive_test.go +++ b/archive/archive_test.go @@ -177,7 +177,7 @@ func TestTarUntarFile(t *testing.T) { t.Fatal(err) } - tar, err := TarFilter(path.Join(origin, "before"), &TarOptions{Compression: Uncompressed, Includes: []string{"file"}}) + tar, err := TarWithOptions(path.Join(origin, "before"), &TarOptions{Compression: Uncompressed, Includes: []string{"file"}}) if err != nil { t.Fatal(err) }