Skip to content

Commit 1f759d8

Browse files
committed
cmd/compile/internal/importer: correct a matching error
1 parent 99d97d7 commit 1f759d8

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)