Skip to content

Commit fcd73b0

Browse files
linsitegopherbot
authored andcommitted
cmd/compile/internal/importer: correct a matching error
Change-Id: I2499d6ef1df0cc6bf0be8903ce64c03e1f296d19 GitHub-Last-Rev: 1f759d8 GitHub-Pull-Request: #73064 Reviewed-on: https://go-review.googlesource.com/c/go/+/660978 Auto-Submit: Robert Griesemer <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Robert Griesemer <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 79b809a commit fcd73b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/compile/internal/importer/gcimporter_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func TestVersionHandling(t *testing.T) {
164164
_, err := Import(make(map[string]*types2.Package), pkgpath, dir, nil)
165165
if err != nil {
166166
// ok to fail if it fails with a 'not the start of an archive file' error for select files
167-
if strings.Contains(err.Error(), "no longer supported") {
167+
if strings.Contains(err.Error(), "not the start of an archive file") {
168168
switch name {
169169
case "test_go1.8_4.a",
170170
"test_go1.8_5.a":

0 commit comments

Comments
 (0)