github.com/datachainlab/burrow@v0.25.0/project/history_test.go (about) 1 package project 2 3 import ( 4 "fmt" 5 "testing" 6 7 "github.com/stretchr/testify/assert" 8 ) 9 10 func TestFullVersion(t *testing.T) { 11 assert.Equal(t, History.CurrentVersion().String(), FullVersion()) 12 commit = "0e90ed60" 13 date = "2018-11-07T14:29:28Z" 14 assert.Equal(t, fmt.Sprintf("%v+commit.%v+%v", History.CurrentVersion().String(), commit, date), FullVersion()) 15 }