From e281d3395b41090a9df955fd0986fe7def1dffd1 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 2 Feb 2017 16:44:13 -0800 Subject: [PATCH] Fix zip tests Fix error when building zip tests running go test ./...: android/soong/third_party/zip/zip_test.go:13:2: use of internal package not allowed Test: go test ./... Change-Id: I4fd7317401fd3d9c95c6f11799c94c1eff25523e --- third_party/zip/zip_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/third_party/zip/zip_test.go b/third_party/zip/zip_test.go index 3a3c915d3..73736606e 100644 --- a/third_party/zip/zip_test.go +++ b/third_party/zip/zip_test.go @@ -10,7 +10,6 @@ import ( "bytes" "fmt" "hash" - "internal/testenv" "io" "io/ioutil" "sort" @@ -20,7 +19,7 @@ import ( ) func TestOver65kFiles(t *testing.T) { - if testing.Short() && testenv.Builder() == "" { + if testing.Short() { t.Skip("skipping in short mode") } buf := new(bytes.Buffer)