diff --git a/tests/testthat/_snaps/use_import_from.md b/tests/testthat/_snaps/use_import_from.md index 76816c9e4..0bb4cf57d 100644 --- a/tests/testthat/_snaps/use_import_from.md +++ b/tests/testthat/_snaps/use_import_from.md @@ -14,15 +14,15 @@ Error in `use_import_from()`: x `package` must be a single string. Code - use_import_from(c("tibble", "rlang")) + use_import_from(c("desc", "rlang")) Condition Error in `use_import_from()`: x `package` must be a single string. Code - use_import_from("tibble", "pool_noodle") + use_import_from("desc", "pool_noodle") Condition Error in `map2()`: i In index: 1. Caused by error in `.f()`: - x Can't find `tibble::pool_noodle()`. + x Can't find `desc::pool_noodle()`. diff --git a/tests/testthat/test-use_import_from.R b/tests/testthat/test-use_import_from.R index 6fa8b0b42..6a3266276 100644 --- a/tests/testthat/test-use_import_from.R +++ b/tests/testthat/test-use_import_from.R @@ -21,8 +21,8 @@ test_that("use_import_from() generates helpful errors", { expect_snapshot(error = TRUE, { use_import_from(1) - use_import_from(c("tibble", "rlang")) + use_import_from(c("desc", "rlang")) - use_import_from("tibble", "pool_noodle") + use_import_from("desc", "pool_noodle") }) })