Re: [go-nuts] Fuzzy behaviour of go test with examples in sort package

2018-01-01 Thread Jan Mercl
On Mon, Jan 1, 2018 at 8:37 PM Kshitij Saraogi wrote: > 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`, `Ex

[go-nuts] Fuzzy behaviour of go test with examples in sort package

2018-01-01 Thread Kshitij Saraogi
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.