This commit is contained in:
parent
c7e8c64751
commit
0b15688bc9
@ -10,7 +10,7 @@ import (
|
||||
|
||||
func TestAppendMac(t *testing.T) {
|
||||
testContent := []byte("A test string is the content of this packet.")
|
||||
testMac := mocks.AlmostUselessMac{}
|
||||
testMac := mocks.AlmostUselessMac("abcd")
|
||||
testPacket := SimplePacket(testContent)
|
||||
testMarshalled := testPacket.Marshal()
|
||||
|
||||
@ -31,7 +31,7 @@ func TestAppendMac(t *testing.T) {
|
||||
|
||||
func TestStripMac(t *testing.T) {
|
||||
testContent := []byte("A test string is the content of this packet.")
|
||||
testMac := mocks.AlmostUselessMac{}
|
||||
testMac := mocks.AlmostUselessMac("abcd")
|
||||
testPacket := SimplePacket(testContent)
|
||||
testMarshalled := testPacket.Marshal()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user