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
5b73ea3c
Unverified
Commit
5b73ea3c
authored
Apr 02, 2020
by
Salvatore Sanfilippo
Committed by
GitHub
Apr 02, 2020
Browse files
Merge pull request #7054 from guybe7/fix_neg_zero_test
Fix no-negative-zero test
parents
eb9ca334
4665b3eb
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/type/incr.tcl
View file @
5b73ea3c
...
@@ -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