Hi, I would like to use go test. But I am not sure how to use it. Could you anybody provide me with a minimal working example how to use go test? Thanks.
$ cat main_test.go #!/usr/bin/env gorun // vim: set noexpandtab tabstop=2: package foo import ( "testing" ) func TestSomething(t *testing.T) { t.Fail() } $ go test -v can't load package: package .: main_test.go:1:1: illegal character U+0023 '#' -- 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.