Skip to content

Commit 45854c4

Browse files
committed
update tests
1 parent 5a7f532 commit 45854c4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/testthat/test-utils.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ test_that("print.tbl_release produces output", {
361361
})
362362

363363
test_that("print.tbl_release handles long format", {
364-
df_rel_long <- as_tibble(df_long_release)
364+
df_rel_long <- dplyr::as_tibble(df_long_release)
365365
class(df_rel_long) <- c("tbl_release", class(df_rel_long))
366366

367367
output <- utils::capture.output(print(df_rel_long))
@@ -370,7 +370,9 @@ test_that("print.tbl_release handles long format", {
370370
})
371371

372372
test_that("print.tbl_release handles wide format", {
373-
df_rel <- vintages_wide(as_tibble(df_long_release), names_from = "release")
373+
df_rel <- vintages_wide(
374+
dplyr::as_tibble(df_long_release), names_from = "release"
375+
)
374376
output <- utils::capture.output(print(df_rel))
375377

376378
expect_true(any(grepl("wide", output)))

0 commit comments

Comments
 (0)