* fixes #12747 * fix tests * improve code style Co-authored-by: cooldome <ariabushenko@bk.ru>
This commit is contained in:
parent
fe53f6ef4f
commit
613ea6e85e
4 changed files with 25 additions and 5 deletions
|
|
@ -10,7 +10,7 @@ a: @[4, 2, 3]
|
|||
0
|
||||
30
|
||||
true
|
||||
(allocCount: 41, deallocCount: 41)'''
|
||||
(allocCount: 40, deallocCount: 40)'''
|
||||
"""
|
||||
|
||||
include system / ansi_c
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ discard """
|
|||
cmd: '''nim c -d:nimAllocStats --newruntime $file'''
|
||||
output: '''button
|
||||
clicked!
|
||||
(allocCount: 9, deallocCount: 9)'''
|
||||
(allocCount: 7, deallocCount: 7)'''
|
||||
"""
|
||||
|
||||
import system / ansi_c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue