Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e5448487
Commit
e5448487
authored
Jul 28, 2011
by
antirez
Browse files
fixed assert proc on Redis test
parent
80e87a46
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/support/test.tcl
View file @
e5448487
...
...
@@ -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"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment