mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
fixed assert proc on Redis test
This commit is contained in:
parent
80e87a461a
commit
e54484876a
@ -5,7 +5,7 @@ set ::tests_failed {}
|
|||||||
|
|
||||||
proc assert {condition} {
|
proc assert {condition} {
|
||||||
if {![uplevel 1 expr $condition]} {
|
if {![uplevel 1 expr $condition]} {
|
||||||
error "assertion:Expected '$value' to be true"
|
error "assertion:Expected condition '$condition' to be true"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user