From 7cb0c31cb24e014a9c6b21fa32d8254b994d933f Mon Sep 17 00:00:00 2001 From: jangko Date: Thu, 14 Dec 2023 10:36:15 +0700 Subject: [PATCH] Remove unused type in test code --- serialization/testing/generic_suite.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/serialization/testing/generic_suite.nim b/serialization/testing/generic_suite.nim index 0cf43fe..5f6df0a 100644 --- a/serialization/testing/generic_suite.nim +++ b/serialization/testing/generic_suite.nim @@ -159,8 +159,6 @@ template roundtripChecks*(Format: type, value: auto, expectedResult: auto) = check serialized == expectedResult try: - const typeName = typetraits.name(type(origValue)) - let decoded = Format.decode(serialized, type(origValue)) checkpoint "(decoded value): " & repr(decoded) let success = maybeDefer(decoded) == maybeDefer(origValue)