From 001de12df505b8d4cebc66e198f01a8be91ec463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Wed, 23 Aug 2023 15:43:36 +0200 Subject: [PATCH] Fix duplicate test names (#6901) --- 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))