]> git.saurik.com Git - redis.git/commitdiff
fixed assert proc on Redis test
authorantirez <antirez@gmail.com>
Thu, 28 Jul 2011 10:31:44 +0000 (12:31 +0200)
committerantirez <antirez@gmail.com>
Thu, 28 Jul 2011 10:31:44 +0000 (12:31 +0200)
tests/support/test.tcl

index 4e68905a5a245304ace9020c140c4d18ae89dd84..c875cfd8030755c752f9aa72a9aa034419393512 100644 (file)
@@ -5,7 +5,7 @@ set ::tests_failed {}
 
 proc assert {condition} {
     if {![uplevel 1 expr $condition]} {
-        error "assertion:Expected '$value' to be true"
+        error "assertion:Expected condition '$condition' to be true"
     }
 }