summary refs log tree commit diff stats
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
parent214b727a7525924f37fc7c917c34beae394f9ef1 (diff)
downloadNim-664bd55e852f237dec03913accedcc5291863048.tar.gz
real test now
-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)