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
4665b3eb
You need to sign in or sign up before continuing.
Commit
4665b3eb
authored
Apr 02, 2020
by
Guy Benoish
Browse files
Fix no-negative-zero test
parent
416d394c
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/type/incr.tcl
View file @
4665b3eb
...
@@ -153,6 +153,7 @@ start_server {tags {"incr"}} {
...
@@ -153,6 +153,7 @@ start_server {tags {"incr"}} {
}
{
ERR*valid*
}
}
{
ERR*valid*
}
test
{
No negative zero
}
{
test
{
No negative zero
}
{
r del foo
r incrbyfloat foo
[
expr double
(
1
)
/41
]
r incrbyfloat foo
[
expr double
(
1
)
/41
]
r incrbyfloat foo
[
expr double
(
-1
)
/41
]
r incrbyfloat foo
[
expr double
(
-1
)
/41
]
r get foo
r get foo
...
...
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