move assertions and iterators out of system.nim (#10597)
* move assertions and iterators out of system.nim * limit nimsuggest tests to the first 3 suggestions
This commit is contained in:
parent
26f48437ca
commit
2b5e48d807
9 changed files with 450 additions and 434 deletions
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
$nimsuggest --tester $file
|
||||
$nimsuggest --tester --maxresults:3 $file
|
||||
>sug $1
|
||||
sug;;skField;;x;;int;;$file;;11;;4;;"";;100;;None
|
||||
sug;;skField;;y;;int;;$file;;11;;7;;"";;100;;None
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ proc main(f: Foo) =
|
|||
# the tester supports the spec section at the bottom of the file and
|
||||
# this way, the line numbers more often stay the same
|
||||
discard """
|
||||
$nimsuggest --tester $file
|
||||
$nimsuggest --tester --maxresults:3 $file
|
||||
>sug $1
|
||||
sug;;skField;;x;;int;;$file;;8;;4;;"";;100;;None
|
||||
sug;;skField;;y;;int;;$file;;8;;7;;"";;100;;None
|
||||
|
|
@ -25,5 +25,4 @@ sug;;skProc;;tdot2.main;;proc (f: Foo);;$file;;12;;5;;"";;100;;None
|
|||
sug;;skField;;x;;int;;$file;;8;;4;;"";;100;;None
|
||||
sug;;skField;;y;;int;;$file;;8;;7;;"";;100;;None
|
||||
sug;;skField;;z;;string;;$file;;10;;6;;"";;100;;None
|
||||
sug;;skProc;;tdot2.main;;proc (f: Foo);;$file;;12;;5;;"";;100;;None
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue