summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2015-10-06 16:06:14 -0700
committerAman Gupta <aman@tmm1.net>2015-10-06 16:06:14 -0700
commit391f2fc9b1954061169978c484c7c2fe7047209a (patch)
tree5bfcbd23da6b313af1bcacae7b9c182600dabf18 /tests
parent7f5c49e2047696d0d89ad18430456c62563509d8 (diff)
downloadNim-391f2fc9b1954061169978c484c7c2fe7047209a.tar.gz
initialize new fields to empty values
Diffstat (limited to 'tests')
-rw-r--r--tests/testament/specs.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testament/specs.nim b/tests/testament/specs.nim
index dcca8a66e..bab17d2cd 100644
--- a/tests/testament/specs.nim
+++ b/tests/testament/specs.nim
@@ -103,6 +103,9 @@ proc specDefaults*(result: var TSpec) =
   result.cmd = cmdTemplate
   result.line = 0
   result.column = 0
+  result.tfile = ""
+  result.tline = 0
+  result.tcolumn = 0
 
 proc parseSpec*(filename: string): TSpec =
   specDefaults(result)