make tests green again

This commit is contained in:
Araq
2017-06-09 13:34:45 +02:00
parent 4e19c4a252
commit 280941aca6
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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"
"""