tests themselves contain the expected result
This commit is contained in:
parent
cbee9c4e1a
commit
2cdfe35e73
144 changed files with 957 additions and 200 deletions
|
|
@ -1,6 +1,12 @@
|
|||
discard """
|
||||
file: "tformat.nim"
|
||||
output: "Hi Andreas! How do you feel, Rumpf?"
|
||||
"""
|
||||
# Tests the new format proc (including the & and &= operators)
|
||||
|
||||
import strutils
|
||||
|
||||
echo("Hi $1! How do you feel, $2?\n" % ["Andreas", "Rumpf"])
|
||||
#OUT Hi Andreas! How do you feel, Rumpf?
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue