Skip to content

Commit a4cb9bf

Browse files
committed
Implement test
1 parent e9985a2 commit a4cb9bf

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

commands_test.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package main
2+
3+
import (
4+
"testing"
5+
)
6+
7+
func TestCreateCommand(t *testing.T) {
8+
cmd := CreateCommand()
9+
10+
if cmd == nil {
11+
t.Fatal("Returned command shouldn't be nil")
12+
}
13+
}

main_test.go

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)