Skip to content

Commit 5dd30ed

Browse files
committed
better test name
1 parent c9fd997 commit 5dd30ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/lcode-hub/main_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ var changeDefaultArgs int = func() int {
1111
return 1
1212
}()
1313

14-
func TestMain(m *testing.T) {
14+
func TestProgram(t *testing.T) {
1515
var running string
1616
f.StringVar(&running, "test.run", "", "golang test")
1717
f.Parse(os.Args[1:])
18-
if running != "^TestMain$" {
18+
if running != "^TestProgram$" {
1919
return
2020
}
2121
main()

0 commit comments

Comments
 (0)