bitcask-mirror/version_test.go

16 lines
241 B
Go
Raw Normal View History

2019-03-09 12:41:59 +00:00
package bitcask
import (
"fmt"
"testing"
"github.com/stretchr/testify/assert"
)
func TestFullVersion(t *testing.T) {
assert := assert.New(t)
expected := fmt.Sprintf("%s@%s", Version, Commit)
assert.Equal(expected, FullVersion())
}