diff options
author | Colin Cross | 2017-02-02 18:44:13 -0600 |
---|---|---|
committer | Colin Cross | 2017-02-02 18:46:33 -0600 |
commit | e281d3395b41090a9df955fd0986fe7def1dffd1 (patch) | |
tree | f5464e9bcc461f22da828304a1a6b67781b5931a /third_party | |
parent | faeb7aa1351df6f1d7eae990d0e3d4c68f5c4abf (diff) | |
download | platform-build-soong-e281d3395b41090a9df955fd0986fe7def1dffd1.tar.gz platform-build-soong-e281d3395b41090a9df955fd0986fe7def1dffd1.tar.xz platform-build-soong-e281d3395b41090a9df955fd0986fe7def1dffd1.zip |
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 3a3c915d..73736606 100644 --- a/third_party/zip/zip_test.go +++ b/third_party/zip/zip_test.go | |||
@@ -10,7 +10,6 @@ import ( | |||
10 | "bytes" | 10 | "bytes" |
11 | "fmt" | 11 | "fmt" |
12 | "hash" | 12 | "hash" |
13 | "internal/testenv" | ||
14 | "io" | 13 | "io" |
15 | "io/ioutil" | 14 | "io/ioutil" |
16 | "sort" | 15 | "sort" |
@@ -20,7 +19,7 @@ import ( | |||
20 | ) | 19 | ) |
21 | 20 | ||
22 | func TestOver65kFiles(t *testing.T) { | 21 | func TestOver65kFiles(t *testing.T) { |
23 | if testing.Short() && testenv.Builder() == "" { | 22 | if testing.Short() { |
24 | t.Skip("skipping in short mode") | 23 | t.Skip("skipping in short mode") |
25 | } | 24 | } |
26 | buf := new(bytes.Buffer) | 25 | buf := new(bytes.Buffer) |