x/pkgsite: example requiring testdata file fails when ran #45475
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite
Milestone
What is the URL of the page with the issue?
https://pkg.go.dev/archive/zip#Reader
What is your user agent?
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36
Screenshot
What did you do?
Ran example for zip.Reader
What did you expect to see?
(which is present in the output before pressing Run)
What did you see instead?
Note that the same issue occurs in golang.org: https://golang.org/pkg/archive/zip/#Reader
However, it seems reasonable that it would fail, since it's being run in a browser and there isn't a testdata/readme.zip to read from. I'm not actually sure there's anything you can/want to do to fix this, but wanted to raise this as an FYI
/cc @julieqiu @jba @jamalc
The text was updated successfully, but these errors were encountered: