Merge pull request #5887 from influxdata/5884/make_version

chore(server): test non-empty dist version
pull/5888/head
Pavel Závora 2022-03-17 12:41:19 +01:00 committed by GitHub
commit e45a987824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

14
dist/dist_test.go vendored Normal file
View File

@ -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!")
}
}