Merge pull request #5887 from influxdata/5884/make_version
chore(server): test non-empty dist versionpull/5888/head
commit
e45a987824
|
@ -0,0 +1,14 @@
|
|||
package dist_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/influxdata/chronograf/dist"
|
||||
)
|
||||
|
||||
func TestGetVersion(t *testing.T) {
|
||||
version := dist.GetVersion()
|
||||
if version == "" {
|
||||
t.Error("No version information is available!")
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue