diff --git a/nim/tests/test_encoding.nim b/nim/tests/test_encoding.nim index 22e2b82..6d6adfa 100644 --- a/nim/tests/test_encoding.nim +++ b/nim/tests/test_encoding.nim @@ -1,10 +1,10 @@ import unittest -import chat_types +import chat_proto suite "Type Encoding Tests": test "HistoryEntry roundtrip": - let x = chat_types.HistoryEntry(message_id: "12345", retrieval_hint: @[1'u8, 2, 3, 255]) + let x = chat_proto.HistoryEntry(message_id: "12345", retrieval_hint: @[1'u8, 2, 3, 255]) let encoded = Protobuf.encode(x) let decoded = Protobuf.decode(encoded, HistoryEntry)