Files
Nim/tests/misc/tsimtych.nim
Adam Strzelecki e80465dacf tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00

13 lines
180 B
Nim

discard """
file: "tsimtych.nim"
line: 10
errormsg: "type mismatch: got (bool) but expected \'string\'"
"""
# Test 2
# Simple type checking
var a: string
a = false #ERROR