You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prologic-msgbus/version_test.go

17 lines
245 B

package msgbus
import (
"fmt"
"testing"
)
func TestFullVersion(t *testing.T) {
version := FullVersion()
expected := fmt.Sprintf("%s@%s", Version, Commit)
if version != expected {
t.Fatalf("invalid version returned: %s", version)
}
}