From 8ba428e8a30fd679aa70c1cc75d7bc19404292be Mon Sep 17 00:00:00 2001 From: Rich FitzJohn Date: Tue, 1 Dec 2020 17:52:16 +0000 Subject: [PATCH] Fix test skip logic --- tests/testthat/test-zzz-commands-sorted-set.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-zzz-commands-sorted-set.R b/tests/testthat/test-zzz-commands-sorted-set.R index d8b177d..eceeb02 100644 --- a/tests/testthat/test-zzz-commands-sorted-set.R +++ b/tests/testthat/test-zzz-commands-sorted-set.R @@ -422,7 +422,7 @@ test_that("ZMSCORE", { }) test_that("BZPOPMIN", { - skip_if_cmd_unsupported("ZMSCORE") + skip_if_cmd_unsupported("BZPOPMIN") con <- test_hiredis_connection() key1 <- rand_str() key2 <- rand_str() @@ -432,7 +432,7 @@ test_that("BZPOPMIN", { }) test_that("BZPOPMAX", { - skip_if_cmd_unsupported("ZMSCORE") + skip_if_cmd_unsupported("BZPOPMAX") con <- test_hiredis_connection() key1 <- rand_str() key2 <- rand_str()