Skip to content

Commit

Permalink
Update test-as_wide_table.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ehwenk committed Nov 18, 2024
1 parent 13088d2 commit 079b89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-as_wide_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ test_that("function `collapse_cols` works", {
data <- (austraits_5.0.0_lite %>% extract_dataset("Bloomfield_2018"))$locations
data_collapsed <- (data %>% collapse_cols())[[1]]
expect_equal(stringr::str_count(data_collapsed, "="), 5)
expect_equal(str_count(data_collapsed, "; "), 4)
expect_equal(stringr::str_count(data_collapsed, "; "), 4)
})

0 comments on commit 079b89d

Please sign in to comment.