github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/model/flow/resultApproval_test.go (about)

     1  package flow_test
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/assert"
     7  
     8  	"github.com/onflow/flow-go/model/flow"
     9  	"github.com/onflow/flow-go/utils/unittest"
    10  )
    11  
    12  func TestResultApprovalEncode(t *testing.T) {
    13  	ra := unittest.ResultApprovalFixture()
    14  	id := ra.ID()
    15  	assert.NotEqual(t, flow.ZeroID, id)
    16  }