From 49164b66d8fc94fa538f218cf6ebe59dd4b5e9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mamy=20Andr=C3=A9-Ratsimbazafy?= Date: Mon, 5 Oct 2020 22:20:29 +0200 Subject: [PATCH] fix testing canary --- tests/support/canaries.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/support/canaries.nim b/tests/support/canaries.nim index 72acc47..220a232 100644 --- a/tests/support/canaries.nim +++ b/tests/support/canaries.nim @@ -26,6 +26,6 @@ else: func canary*(T: typedesc): T = when T is BigInt: for i in 0 ..< result.limbs.len: - result.limbs[0] = Canary + result.limbs[i] = Canary else: {.error: "Not implemented".}