From 4d4fe8bd3edb1bfc6d600f247af797c7552f5477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Mjaavatten?= Date: Mon, 8 Aug 2022 09:37:43 +0200 Subject: [PATCH] tests/newruntime_misc: Increment allocCount Increments overall allocations in `tnewruntime_misc` test. This is because `getEnv` now does an additional allocation: allocation of the UTF-16 string used as parameter to `c_wgetenv`. --- tests/destructor/tnewruntime_misc.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/destructor/tnewruntime_misc.nim b/tests/destructor/tnewruntime_misc.nim index ac061f2f7a..48ea36b7cf 100644 --- a/tests/destructor/tnewruntime_misc.nim +++ b/tests/destructor/tnewruntime_misc.nim @@ -7,7 +7,7 @@ axc ... destroying GenericObj[T] GenericObj[system.int] test -(allocCount: 12, deallocCount: 10) +(allocCount: 13, deallocCount: 11) 3''' """