summary refs log tree commit diff stats
path: root/tests/run
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2012-09-08 15:54:00 -0500
committerSimon Hafner <hafnersimon@gmail.com>2012-09-08 15:54:00 -0500
commit664bd55e852f237dec03913accedcc5291863048 (patch)
tree94640d86f3072b30ef99a7433e53c1f7b1f6e721 /tests/run
parent214b727a7525924f37fc7c917c34beae394f9ef1 (diff)
downloadNim-664bd55e852f237dec03913accedcc5291863048.tar.gz
real test now
Diffstat (limited to 'tests/run')
-rw-r--r--tests/run/thashes.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run/thashes.nim b/tests/run/thashes.nim
index 2b418c4cd..c442b43fb 100644
--- a/tests/run/thashes.nim
+++ b/tests/run/thashes.nim
@@ -4,4 +4,5 @@ import hashes
 suite "hashes":
   suite "hashing":
     test "0.0 and -0.0 should have the same hash value":
-      check hash(0.0) == hash(-0.0)
\ No newline at end of file
+      var dummy = 0.0
+      check hash(dummy) == hash(-dummy)
='#n137'>137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196