From b29bae5866b9de1bb4e0ab34809430a66ef26b4c Mon Sep 17 00:00:00 2001 From: wlandau Date: Thu, 29 Feb 2024 18:07:22 -0500 Subject: [PATCH] Try a fix --- tests/test-build_universe.R | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/test-build_universe.R b/tests/test-build_universe.R index add3c01..5789835 100644 --- a/tests/test-build_universe.R +++ b/tests/test-build_universe.R @@ -129,7 +129,14 @@ out <- try( stopifnot(inherits(out, "try-error")) stopifnot( grepl( - pattern = "JSON entry for package 'paws.analytics' must have fields", + pattern = "JSON entry for package", + x = r.releases.utils::try_message(out), + fixed = TRUE + ) +) +stopifnot( + grepl( + pattern = "must have fields", x = r.releases.utils::try_message(out), fixed = TRUE )