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
024c380b
Commit
024c380b
authored
Apr 02, 2020
by
Guy Benoish
Committed by
antirez
Apr 07, 2020
Browse files
Fix no-negative-zero test
parent
a38ff404
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/type/incr.tcl
View file @
024c380b
...
@@ -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