From e6f7100af1b84d3d4b3120010694057510507799 Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Fri, 13 Sep 2024 12:57:18 +0200 Subject: [PATCH] Correct typo --- tests/testthat/test-read_package.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-read_package.R b/tests/testthat/test-read_package.R index 251e1ae..072dee8 100644 --- a/tests/testthat/test-read_package.R +++ b/tests/testthat/test-read_package.R @@ -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 )