While running the test suite in the "sort" pacakge, I found that all the 
examples are not being evaluated.
I tried running `$ go test -v src/sort` from the base directory of the 
repository.

The tests such as `ExampleIntsAreSorted`, `ExampleFloat64s` are not run 
unless explicitly instructed to.
I made changes to the expected "Output" in each of these examples to a 
wrong value.
Surprisingly, the test suite still passed. Is there a reason why this 
happening?

Also, I think this is the reason why these examples are not displayed in 
the "godoc" of the sort package.
How can we fix this?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to