make tests green again
This commit is contained in:
parent
3e922d0fec
commit
f907354121
7 changed files with 14 additions and 24 deletions
|
|
@ -11,7 +11,6 @@ deallocating
|
|||
allocating
|
||||
deallocating
|
||||
'''
|
||||
cmd: '''nim c --newruntime $file'''
|
||||
"""
|
||||
|
||||
type
|
||||
|
|
|
|||
|
|
@ -1,7 +1,3 @@
|
|||
discard """
|
||||
cmd: '''nim c --newruntime $file'''
|
||||
"""
|
||||
|
||||
# Make sure we don't walk cast[T] type section while injecting sinks/destructors
|
||||
block:
|
||||
type
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@ discard """
|
|||
1 2 6
|
||||
1 3 7
|
||||
after 6 6'''
|
||||
cmd: '''nim c --newruntime $file'''
|
||||
"""
|
||||
|
||||
import typetraits
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ foo bar to appendmore here
|
|||
foo bar to appendmore here
|
||||
foo bar to appendmore here
|
||||
after 20 20'''
|
||||
cmd: '''nim c --newruntime $file'''
|
||||
"""
|
||||
|
||||
{.this: self.}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ destroy
|
|||
123
|
||||
destroy Foo: 5
|
||||
destroy Foo: 123'''
|
||||
cmd: '''nim c --newruntime $file'''
|
||||
"""
|
||||
|
||||
# bug #2821
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ test destroyed 0
|
|||
3
|
||||
4
|
||||
Pony is dying!'''
|
||||
cmd: '''nim c --newruntime $file'''
|
||||
"""
|
||||
|
||||
# bug #4214
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ discard """
|
|||
90.0
|
||||
120.0
|
||||
8 8'''
|
||||
cmd: '''nim c --newruntime $file'''
|
||||
"""
|
||||
|
||||
import typetraits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue