Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting the Copied test case without changing command. #12310

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

hwware
Copy link
Collaborator

@hwware hwware commented Jun 13, 2023

Looks like the Zadd test case was copied to create Zincrby test case ,but missed to change the command.

Before :
test "ZSET element can't be set to NaN with ZADD - $encoding" {
assert_error "notfloat*" {r zadd myzset nan abc}
}
test "ZSET element can't be set to NaN with ZINCRBY - $encoding" {
assert_error "notfloat*" {r zadd myzset nan abc}
}

After.
test "ZSET element can't be set to NaN with ZADD - $encoding" {
assert_error "notfloat*" {r zadd myzset nan abc}
}
test "ZSET element can't be set to NaN with ZINCRBY - $encoding" {
assert_error "notfloat*" {r zincrby myzset nan abc}
}

@hwware hwware requested review from oranagra and madolson June 13, 2023 15:10
@oranagra oranagra merged commit 1946083 into redis:unstable Jun 14, 2023
13 checks passed
@hwware hwware deleted the zset_test_coverage branch June 15, 2023 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants