[refactoring] refactor the compiler and stdlib to deprecation warnings (#11419)
This commit is contained in:
parent
3d13103443
commit
c7e1c665a1
7 changed files with 52 additions and 44 deletions
|
|
@ -22,7 +22,7 @@ proc matchStackTrace(actualEntries: openarray[StackTraceEntry], expected: string
|
|||
var line: int
|
||||
if not scanf(l, "$s$w.nim($i) $w", filename, line, procname):
|
||||
doAssert(false, "Wrong expected stack trace")
|
||||
checkEqual($actualEntries[i].filename, filename & ".nim", "file name")
|
||||
checkEqual(actualEntries[i].filename.`$`.split('/')[^1], filename & ".nim", "file name")
|
||||
if line != 0:
|
||||
checkEqual(actualEntries[i].line, line, "line number")
|
||||
checkEqual($actualEntries[i].procname, procname, "proc name")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue