remove some noises in tests (#16448)
This commit is contained in:
parent
357729639f
commit
271f68259b
17 changed files with 140 additions and 181 deletions
|
|
@ -22,12 +22,12 @@ proc echoLoop(str: string): string =
|
|||
while not output.atEnd:
|
||||
result.add(output.readLine)
|
||||
|
||||
suite "io":
|
||||
suite "readAll":
|
||||
test "stdin":
|
||||
block: # io
|
||||
block: # readAll
|
||||
block: # stdin
|
||||
check:
|
||||
echoLoop(STRING_DATA) == STRING_DATA
|
||||
test "file":
|
||||
block: # file
|
||||
check:
|
||||
readFile(TEST_FILE).strip == STRING_DATA
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue