Update to go1.24.5
This commit is contained in:
@@ -46,7 +46,8 @@ func TestAll(t *testing.T) {
|
||||
if info.Old != "" && info.Changed == 0 {
|
||||
t.Errorf("Name=%s has Old, missing Changed", info.Name)
|
||||
}
|
||||
if !strings.Contains(doc, "`"+info.Name+"`") {
|
||||
if !strings.Contains(doc, "`"+info.Name+"`") &&
|
||||
!strings.Contains(doc, "`"+info.Name+"=") {
|
||||
t.Errorf("Name=%s not documented in doc/godebug.md", info.Name)
|
||||
}
|
||||
if !info.Opaque && !incs[info.Name] {
|
||||
|
||||
@@ -25,6 +25,7 @@ type Info struct {
|
||||
// Note: After adding entries to this table, update the list in doc/godebug.md as well.
|
||||
// (Otherwise the test in this package will fail.)
|
||||
var All = []Info{
|
||||
{Name: "allowmultiplevcs", Package: "cmd/go"},
|
||||
{Name: "asynctimerchan", Package: "time", Changed: 23, Old: "1"},
|
||||
{Name: "dataindependenttiming", Package: "crypto/subtle", Opaque: true},
|
||||
{Name: "execerrdot", Package: "os/exec"},
|
||||
|
||||
Reference in New Issue
Block a user