-j
On Wed, Apr 19, 2017 at 3:48 PM Tong Sun <sunto...@gmail.com> wrote:
> what's your preference and why?
b/c ~ what POSIX recommends for utility names.
Within POSIX.1-2008..., The utility in the example is named utility_name,
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
func TestXxx(*testing.T)
See the testing package documentation.
- Jake
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/DbS8JFbdflE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts+unsubscribe@googlegroups.com.
I'm afraid that you are wrong at both points.- tests needn't have to use the the same package name, in this case package pybr is good, but package pybr_test is good as well.- func TestXxx is not the only signature allowed, see https://golang.org/pkg/testing/#hdr-Examples