Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Redis test: when assertion fails print not just the expression but al…

…so expanded values in the error message.
  • Loading branch information...
commit d4945b253bf46da317af054630b94466341a09c9 1 parent 5378578
@antirez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  tests/support/test.tcl
2  tests/support/test.tcl
@@ -5,7 +5,7 @@ set ::tests_failed {}
proc assert {condition} {
if {![uplevel 1 expr $condition]} {
- error "assertion:Expected condition '$condition' to be true"
+ error "assertion:Expected condition '$condition' to be true ([uplevel 1 [list subst -nocommands $condition]])"
Please sign in to comment.
Something went wrong with that request. Please try again.