neoneo-go/pkg/wire/payload/mverack_test.go

18 lines
295 B
Go
Raw Normal View History

2019-02-25 22:44:14 +00:00
package payload
import (
"testing"
"github.com/CityOfZion/neo-go/pkg/wire/command"
"github.com/stretchr/testify/assert"
)
func TestNewVerack(t *testing.T) {
verackMessage, err := NewVerackMessage()
assert.Equal(t, nil, err)
assert.Equal(t, command.Verack, verackMessage.Command())
}