From e3121b38f1acd45583b8fd65b63a397b6003d66b Mon Sep 17 00:00:00 2001 From: KH Date: Wed, 21 Aug 2024 17:41:16 +0200 Subject: [PATCH] expect error, not warning --- tests/testthat/test_ds.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testthat/test_ds.R b/tests/testthat/test_ds.R index d36a3ac..4e5f242 100644 --- a/tests/testthat/test_ds.R +++ b/tests/testthat/test_ds.R @@ -139,9 +139,9 @@ test_that("cds request", { r$delete() # cleanup # test delete routine - expect_warning( - wf_delete(url = "50340909as")) - + expect_error( + wf_delete(url = "50340909as") + ) })