fix #16693: testament spec nimout too lax (#16698)

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
This commit is contained in:
flywind 2021-04-05 04:47:28 +08:00 • committed by GitHub
commit 70a30317f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 103 additions and 52 deletions

View file

@ -1,12 +1,16 @@
discard """
nimout: '''2
nimout: '''
2
3
4:2
Got Hi
Got Hey
'''
output:'''
a
b
c'''
c
'''
"""
# bug #404

View file

@ -19,6 +19,7 @@ foo4
(a: 0, b: 0)
'''
"""
import std/sets
#bug #1009
type
@ -95,8 +96,6 @@ static: simpleTryFinally()
# bug #10981
import sets
proc main =
for i in 0..<15:
var someSets = @[initHashSet[int]()]