Skip to content

Commit d899df4

Browse files
committed
Added test for scwversoin
1 parent 83c241d commit d899df4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

pkg/scwversion/version_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package scwversion
2+
3+
import (
4+
"testing"
5+
6+
. "github.com/smartystreets/goconvey/convey"
7+
)
8+
9+
func TestInit(t *testing.T) {
10+
Convey("Testing init()", t, func() {
11+
So(VERSION, ShouldNotEqual, "")
12+
So(GITCOMMIT, ShouldNotEqual, "")
13+
})
14+
}

0 commit comments

Comments
 (0)