Move software version handling to a new package
This commit is contained in:
11
version/version_test.go
Normal file
11
version/version_test.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package version
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestVersioning(t *testing.T) {
|
||||
if !NewVersionAvailable("v0.1.0") {
|
||||
t.Error("should be a version newer than v0.1.0")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user