more tests fixed
This commit is contained in:
parent
9c2365d5c2
commit
534601637a
6 changed files with 24 additions and 5 deletions
|
|
@ -1,6 +1,14 @@
|
|||
discard """
|
||||
output: "14"
|
||||
"""
|
||||
|
||||
import memfiles
|
||||
var inp = memfiles.open("tests/stdlib/tmemlinesBuf.nim")
|
||||
var buffer: TaintedString = ""
|
||||
var lineCount = 0
|
||||
for line in lines(inp, buffer):
|
||||
echo("#" & line & "#")
|
||||
lineCount += 1
|
||||
|
||||
close(inp)
|
||||
|
||||
echo lineCount
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue