diff options
author | 2017-02-02 16:44:13 -0800 | |
---|---|---|
committer | 2017-02-02 16:46:33 -0800 | |
commit | e281d3395b41090a9df955fd0986fe7def1dffd1 (patch) | |
tree | f5464e9bcc461f22da828304a1a6b67781b5931a /third_party | |
parent | faeb7aa1351df6f1d7eae990d0e3d4c68f5c4abf (diff) |
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
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/zip/zip_test.go | 3 |
1 files changed, 1 insertions, 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) |