Skip to content

Commit b5034ee

Browse files
Pulling back some changes to run.go
1 parent b533bb5 commit b5034ee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/gorepo/run.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,6 @@ func goDirPackages(longdir string, singlefilepkgs bool) ([]*goDirPkg, error) {
532532
type context struct {
533533
GOOS string
534534
GOARCH string
535-
// GOPHERJS: Doesn't support `cgoEnabled` related to CGO_ENABLED
536-
// GOPHERJS: Doesn't support `noOptEnv` related to GO_GCFLAGS
537535
}
538536

539537
// shouldTest looks for build tags in a source file and returns
@@ -619,7 +617,7 @@ func (t *test) run() {
619617
return
620618
}
621619

622-
srcBytes, err := os.ReadFile(t.goFileName()) // GOPHERJS: Updated to no use deprecated ioutil.ReadFile
620+
srcBytes, err := os.ReadFile(t.goFileName())
623621
if err != nil {
624622
t.err = err
625623
return

0 commit comments

Comments
 (0)