Skip to content

Commit

Permalink
fix test to Fatal instead of just printing the error
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Jun 13, 2023
1 parent 73c1893 commit b39884e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uasc/secure_channel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ func TestSignAndEncryptVerifyAndDecrypt(t *testing.T) {
}

getConfig := func(uri string) *Config {
t.Helper()

if uri == ua.SecurityPolicyURINone {
return &Config{SecurityMode: ua.MessageSecurityModeNone}
}
Expand Down Expand Up @@ -278,7 +280,6 @@ func TestSignAndEncryptVerifyAndDecrypt(t *testing.T) {
// RequestedLifetime
0x80, 0x8d, 0x5b, 0x00,
}})

}
}

Expand Down

0 comments on commit b39884e

Please sign in to comment.