mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-10 06:54:16 +00:00
make tests green again
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
discard """
|
||||
line: 8
|
||||
errormsg: "public implementation 'tmismatchedvisibility.foo(a: int)' has non-public forward declaration in "
|
||||
errormsg: "public implementation 'tmismatchedvisibility.foo(a: int)[declared in tmismatchedvisibility.nim(6,5)]' has non-public forward declaration in "
|
||||
"""
|
||||
|
||||
proc foo(a: int): int
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
discard """
|
||||
nimout: '''
|
||||
compile start
|
||||
tused.nim(15, 8) Hint: 'tused.echoSub(a: int, b: int)' is declared but not used [XDeclaredButNotUsed]
|
||||
tused.nim(15, 8) Hint: 'tused.echoSub(a: int, b: int)[declared in tused.nim(15,7)]' is declared but not used [XDeclaredButNotUsed]
|
||||
compile end'''
|
||||
output: "8\n8"
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user