File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1313 " env " : {"GOPROXY": "direct"},
1414 " steps " : [{
1515 " name " : " Install Go" ,
16- " uses " : " actions/setup-go@v3 " ,
16+ " uses " : " actions/setup-go@v4 " ,
1717 " with " : {"go-version": "${{ matrix.go-version }}"}
1818 }, {
1919 " name " : " Checkout code" ,
20- " uses " : " actions/checkout@v3 "
20+ " uses " : " actions/checkout@v4 "
2121 }, {
2222 " name " : " Test" ,
2323 " run " : " go test -race ./..."
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package ossfuzz
33import (
44 "bytes"
55 "fmt"
6- "strings"
76
87 "github.com/BurntSushi/toml"
98)
@@ -28,11 +27,6 @@ func FuzzToml(data []byte) int {
2827 var v2 any
2928 _ , err = toml .Decode (buf .String (), & v2 )
3029 if err != nil {
31- // TODO(manunio): remove this when 1.23 lands, see #407.
32- if strings .Contains (err .Error (), "invalid datetime" ) {
33- return 0
34- }
35-
3630 panic (fmt .Sprintf ("failed round trip: %s" , err ))
3731 }
3832
You can’t perform that action at this time.
0 commit comments