Skip to content

Commit bce1d3f

Browse files
authored
Merge pull request #1297 from Workiva/moreKnownFails
[go1.20] More known fails and a fix
2 parents 7a7beaa + 9b0362c commit bce1d3f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

compiler/linkname_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ func TestParseGoLinknames(t *testing.T) {
190190
`,
191191
wantDirectives: []GoLinkname{
192192
{
193-
Reference: SymName{PkgPath: `testcase`, Name: `a`},
194-
Implementation: SymName{PkgPath: `other/package`, Name: `b.a`},
193+
Reference: symbol.Name{PkgPath: `testcase`, Name: `a`},
194+
Implementation: symbol.Name{PkgPath: `other/package`, Name: `b.a`},
195195
},
196196
},
197197
}, {
@@ -206,8 +206,8 @@ func TestParseGoLinknames(t *testing.T) {
206206
`,
207207
wantDirectives: []GoLinkname{
208208
{
209-
Reference: SymName{PkgPath: `testcase`, Name: `a`},
210-
Implementation: SymName{PkgPath: `other/package`, Name: `*b.a`},
209+
Reference: symbol.Name{PkgPath: `testcase`, Name: `a`},
210+
Implementation: symbol.Name{PkgPath: `other/package`, Name: `*b.a`},
211211
},
212212
},
213213
},

tests/gorepo/run.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ var knownFails = map[string]failReason{
151151
// These are new tests in Go 1.20
152152
"fixedbugs/issue25897a.go": {category: neverTerminates, desc: "does for { runtime.GC() }"},
153153
"fixedbugs/issue54343.go": {category: notApplicable, desc: "uses runtime.SetFinalizer() and runtime.GC()."},
154+
"fixedbugs/issue57823.go": {category: notApplicable, desc: "uses runtime.SetFinalizer() and runtime.GC()."},
155+
"fixedbugs/issue59293.go": {category: usesUnsupportedPackage, desc: "uses unsafe.SliceData() and unsafe.StringData()."},
156+
"fixedbugs/issue43942.go": {category: other, desc: "https://github.com/gopherjs/gopherjs/issues/1126"},
154157
}
155158

156159
type failCategory uint8

0 commit comments

Comments
 (0)