correct proxy tests
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Jake Hillion 2021-05-13 22:11:58 +01:00
parent c7e8c64751
commit 0b15688bc9

View File

@ -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()