Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
ed9f997c
Commit
ed9f997c
authored
Jul 28, 2011
by
antirez
Browse files
fixed assert proc on Redis test
parent
55eea93c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/support/test.tcl
View file @
ed9f997c
...
...
@@ -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