From 894deccba374348236a20c8bbb4747fcb72b5ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Fri, 4 Aug 2023 15:53:08 +0200 Subject: [PATCH] Fix duplicate test names --- tests/testthat/test-count-tally.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-count-tally.R b/tests/testthat/test-count-tally.R index 5527628d7b..2ec1fc62be 100644 --- a/tests/testthat/test-count-tally.R +++ b/tests/testthat/test-count-tally.R @@ -35,7 +35,7 @@ test_that("output includes empty levels with .drop = FALSE", { expect_equal(out$n, c(0, 1, 0)) }) -test_that("output preserves grouping", { +test_that("count preserves grouping", { df <- tibble(g = c(1, 2, 2, 2)) exp <- tibble(g = c(1, 2), n = c(1, 3)) @@ -143,7 +143,7 @@ test_that("tally() owns errors (#6139)", { # add_count --------------------------------------------------------------- -test_that("output preserves grouping", { +test_that("add_count preserves grouping", { df <- tibble(g = c(1, 2, 2, 2)) exp <- tibble(g = c(1, 2, 2, 2), n = c(1, 3, 3, 3))