3 ms·
Yeah, the final comment on the bug is also from Mr Bray, and isn't exactly a "thanks". I was quite surprised by that combination after reading the diary blog p
by unwind 13y ago
Yeah, the final comment on the bug is also from Mr Bray, and isn't exactly a "thanks".
I was quite surprised by that combination after reading the diary blog post, they don't really match up.
- corresation 13y agoAgreed, that bug is quite a bit different from the impression in the blog post. Tim is completely right, however: Why can't he use the automatically differentiated leading underscore test? And the fix of the documentation is, as he mentioned, just as wrong as it already was. Now I wonder if his bug comment was sarcastic, because it would be had I written it.
- BarkMore 13y agoWhy can't he use the automatically differentiated leading underscore test? The go tool currently ignores all files with a leading '_' in the name. Changing the tool to use a file with the name '_test.go' complicates the rule for ignored files and might break an existing project. The workaround of using 'all_test.go' is not onerous.
- espadrine 13y agoThat's because Tim Bray posted the blog post, after which he read the patch (the comment was submitted today).