Closed
Description
One feature of go test
command that is handy for short/quick/easy to write tests is that it runs and verifies example code (if it has a concluding comment with "// Output:").
See https://godoc.org/testing#hdr-Examples.
It'd be a nice enhancement if gopherjs test
supported that too.