forked from security/hakurei
message: rename NewMsg to New
Should have done this when relocating this from container. Now is a good time to rename it before v0.3.x. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -28,7 +28,7 @@ func TestShortIdentifier(t *testing.T) {
|
||||
func TestTryIdentifier(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
msg := message.NewMsg(nil)
|
||||
msg := message.New(nil)
|
||||
id := hst.ID{
|
||||
0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef,
|
||||
0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10,
|
||||
|
||||
Reference in New Issue
Block a user