element/version/version_test.go
Evan Hazlett 7574b334cc
start on api
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
2017-07-29 10:11:50 -04:00

15 lines
242 B
Go

package version
import (
"testing"
)
func TestFullVersion(t *testing.T) {
version := FullVersion()
expected := Version + Build + " (" + GitCommit + ")"
if version != expected {
t.Fatalf("invalid version returned: %s", version)
}
}