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
This commit is contained in:
3
third_party/zip/zip_test.go
vendored
3
third_party/zip/zip_test.go
vendored
@@ -10,7 +10,6 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"hash"
|
"hash"
|
||||||
"internal/testenv"
|
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"sort"
|
"sort"
|
||||||
@@ -20,7 +19,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func TestOver65kFiles(t *testing.T) {
|
func TestOver65kFiles(t *testing.T) {
|
||||||
if testing.Short() && testenv.Builder() == "" {
|
if testing.Short() {
|
||||||
t.Skip("skipping in short mode")
|
t.Skip("skipping in short mode")
|
||||||
}
|
}
|
||||||
buf := new(bytes.Buffer)
|
buf := new(bytes.Buffer)
|
||||||
|
Reference in New Issue
Block a user