mirror of
https://github.com/golang/go.git
synced 2025-10-19 11:03:18 +00:00
cmd/compile/internal/importer: correct a matching error
Change-Id: I2499d6ef1df0cc6bf0be8903ce64c03e1f296d19
GitHub-Last-Rev: 1f759d89be
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
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ func TestVersionHandling(t *testing.T) {
|
|||
_, err := Import(make(map[string]*types2.Package), pkgpath, dir, nil)
|
||||
if err != nil {
|
||||
// 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 {
|
||||
case "test_go1.8_4.a",
|
||||
"test_go1.8_5.a":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue