mirror of
https://github.com/vacp2p/mix.git
synced 2026-01-09 16:48:17 -05:00
fix failing tests
This commit is contained in:
@@ -27,7 +27,6 @@ task test, "Run the test suite":
|
||||
runTest("test_fragmentation")
|
||||
runTest("test_mix_message")
|
||||
runTest("test_mix_node")
|
||||
runTest("test_pow")
|
||||
runTest("test_seqno_generator")
|
||||
runTest("test_serialization")
|
||||
runTest("test_sphinx")
|
||||
|
||||
@@ -6,7 +6,7 @@ suite "mix_message_tests":
|
||||
test "serialize_and_deserialize_mix_message":
|
||||
let
|
||||
message = "Hello World!"
|
||||
protocol = ProtocolType.Ping
|
||||
protocol = ProtocolType.PingProtocol
|
||||
mixMsg = initMixMessage(cast[seq[byte]](message), protocol)
|
||||
|
||||
let serializedResult = serializeMixMessage(mixMsg)
|
||||
|
||||
Reference in New Issue
Block a user