test: make sure to check the returned error from destination creation

This commit is contained in:
postables
2020-08-30 17:59:30 -07:00
parent 91fc13b151
commit 13bf63f35a

View File

@ -31,6 +31,8 @@ func TestClientHello(t *testing.T) {
func TestNewDestination(t *testing.T) {
setup(t)
t.Log(client.Base32())
client.NewDestination(SAMsigTypes[3])
if _, err := client.NewDestination(SAMsigTypes[3]); err != nil {
t.Error(err)
}
teardown(t)
}