summaryrefslogtreecommitdiffstats
path: root/client/go/cmd/version_test.go
blob: fc977c47938e85e5c70316eee6ccee47aac7be0d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
package cmd

import (
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestVersion(t *testing.T) {
	assert.Contains(t, execute(command{args: []string{"version"}}, t, nil), "vespa version 0.0.0-devel compiled with")
}