tests: Trim .nim files trailing whitespace

via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
Adam Strzelecki
2015-09-04 23:04:32 +02:00
parent ac9c1cd6b9
commit e80465dacf
372 changed files with 4486 additions and 4486 deletions

View File

@@ -1,2 +1,2 @@
import mnamspc2
import mnamspc2

View File

@@ -1,3 +1,3 @@
# export an identifier:
var
global*: int
# export an identifier:
var
global*: int

View File

@@ -1,7 +1,7 @@
type
TLexer* {.final.} = object
line*: int
filename*: string
buffer: cstring
type
TLexer* {.final.} = object
line*: int
filename*: string
buffer: cstring
proc noProcVar*(): int = 18

View File

@@ -1 +1 @@
import trecmod
import trecmod

View File

@@ -1,9 +1,9 @@
# Module B
import trecmod2
import trecmod2
proc p*(x: trecmod2.T1): trecmod2.T1 =
# this works because the compiler has already
# added T1 to trecmod2's interface symbol table
return x + 1

View File

@@ -7,7 +7,7 @@ import mexporta
# bug #1029:
from rawsockets import accept
# B.TMyObject has been imported implicitly here:
# B.TMyObject has been imported implicitly here:
var x: TMyObject
echo($x, q(0), q"0")

View File

@@ -3,10 +3,10 @@ discard """
line: 10
errormsg: "undeclared identifier: \'global\'"
"""
# Test17 - test correct handling of namespaces
import mnamspc1
global = 9 #ERROR
# Test17 - test correct handling of namespaces
import mnamspc1
global = 9 #ERROR

View File

@@ -1,2 +1,2 @@
# recursive module
import mrecmod
# recursive module
import mrecmod