Skip to content

Commit

Permalink
Fix duplicate test names (#6901)
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr authored Aug 23, 2023
1 parent 9738f34 commit 001de12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-count-tally.R
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down Expand Up @@ -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))

Expand Down

0 comments on commit 001de12

Please sign in to comment.