mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
cmd/compile/internal/importer: correct a matching error
Change-Id: I2499d6ef1df0cc6bf0be8903ce64c03e1f296d19 GitHub-Last-Rev: 1f759d89be7b40c7fe72b920fc004de3fed8d057 GitHub-Pull-Request: golang/go#73064 Reviewed-on: https://go-review.googlesource.com/c/go/+/660978 Auto-Submit: Robert Griesemer <gri@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Robert Griesemer <gri@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
79b809afb3
commit
fcd73b0ac3
@ -164,7 +164,7 @@ func TestVersionHandling(t *testing.T) {
|
|||||||
_, err := Import(make(map[string]*types2.Package), pkgpath, dir, nil)
|
_, err := Import(make(map[string]*types2.Package), pkgpath, dir, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// ok to fail if it fails with a 'not the start of an archive file' error for select files
|
// ok to fail if it fails with a 'not the start of an archive file' error for select files
|
||||||
if strings.Contains(err.Error(), "no longer supported") {
|
if strings.Contains(err.Error(), "not the start of an archive file") {
|
||||||
switch name {
|
switch name {
|
||||||
case "test_go1.8_4.a",
|
case "test_go1.8_4.a",
|
||||||
"test_go1.8_5.a":
|
"test_go1.8_5.a":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user