github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/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  }