make more tests green
This commit is contained in:
parent
ef6eda4cb4
commit
b57d14b1ae
20 changed files with 20 additions and 20 deletions
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
file: "tinc.nim"
|
||||
line: 8
|
||||
errormsg: "type mismatch: got (int)"
|
||||
errormsg: "type mismatch: got <int>"
|
||||
"""
|
||||
var x = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
file: "tinout.nim"
|
||||
line: 12
|
||||
errormsg: "type mismatch: got (int literal(3))"
|
||||
errormsg: "type mismatch: got <int literal(3)>"
|
||||
"""
|
||||
# Test in out checking for parameters
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
file: "tinvalidnewseq.nim"
|
||||
line: 15
|
||||
errormsg: "type mismatch: got (array[0..6, string], int literal(7))"
|
||||
errormsg: "type mismatch: got <array[0..6, string], int literal(7)>"
|
||||
"""
|
||||
import re, strutils
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
discard """
|
||||
line: 8
|
||||
errormsg: "type mismatch: got (int literal(3))"
|
||||
errormsg: "type mismatch: got <int literal(3)>"
|
||||
"""
|
||||
|
||||
# please finally disallow Len(3)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
discard """
|
||||
file: "tsimtych.nim"
|
||||
line: 10
|
||||
errormsg: "type mismatch: got (bool) but expected \'string\'"
|
||||
errormsg: "type mismatch: got <bool> but expected \'string\'"
|
||||
"""
|
||||
# Test 2
|
||||
# Simple type checking
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue