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
|
allocating
|
||||||
deallocating
|
deallocating
|
||||||
'''
|
'''
|
||||||
cmd: '''nim c --newruntime $file'''
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
type
|
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
|
# Make sure we don't walk cast[T] type section while injecting sinks/destructors
|
||||||
block:
|
block:
|
||||||
type
|
type
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@ discard """
|
||||||
1 2 6
|
1 2 6
|
||||||
1 3 7
|
1 3 7
|
||||||
after 6 6'''
|
after 6 6'''
|
||||||
cmd: '''nim c --newruntime $file'''
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import typetraits
|
import typetraits
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ foo bar to appendmore here
|
||||||
foo bar to appendmore here
|
foo bar to appendmore here
|
||||||
foo bar to appendmore here
|
foo bar to appendmore here
|
||||||
after 20 20'''
|
after 20 20'''
|
||||||
cmd: '''nim c --newruntime $file'''
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
{.this: self.}
|
{.this: self.}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ destroy
|
||||||
123
|
123
|
||||||
destroy Foo: 5
|
destroy Foo: 5
|
||||||
destroy Foo: 123'''
|
destroy Foo: 123'''
|
||||||
cmd: '''nim c --newruntime $file'''
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# bug #2821
|
# bug #2821
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ test destroyed 0
|
||||||
3
|
3
|
||||||
4
|
4
|
||||||
Pony is dying!'''
|
Pony is dying!'''
|
||||||
cmd: '''nim c --newruntime $file'''
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# bug #4214
|
# bug #4214
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ discard """
|
||||||
90.0
|
90.0
|
||||||
120.0
|
120.0
|
||||||
8 8'''
|
8 8'''
|
||||||
cmd: '''nim c --newruntime $file'''
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import typetraits
|
import typetraits
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue