Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdesmet committed Sep 13, 2024
1 parent b052cec commit e6f7100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-read_package.R
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ test_that("read_package() warns if resources are missing", {
expect_warning(
read_package(test_path("data/resources_missing.json")),
regexp = paste(
"`file` 'data/resources_missing.json' must have a resources property",
"`file` 'data/resources_missing.json' should have a resources property",
"containing at least one resource."
),
fixed = TRUE
)
expect_warning(
read_package(test_path("data/resources_missing.json")),
regexp = "Use {.fun add_resource} to add resources.",
regexp = "Use `add_resource()` to add resources.",
fixed = TRUE
)

Expand Down

0 comments on commit e6f7100

Please sign in to comment.