From 1a438825834173139150790b916c57df77d66cdb Mon Sep 17 00:00:00 2001 From: Matthijs Berends Date: Wed, 26 Feb 2025 21:34:07 +0100 Subject: [PATCH] ab fix --- tests/testthat/test-custom_antimicrobials.R | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/testthat/test-custom_antimicrobials.R b/tests/testthat/test-custom_antimicrobials.R index 594ee74df..0fc777e5c 100644 --- a/tests/testthat/test-custom_antimicrobials.R +++ b/tests/testthat/test-custom_antimicrobials.R @@ -27,8 +27,9 @@ # how to conduct AMR data analysis: https://msberends.github.io/AMR/ # # ==================================================================== # -# expect_warning(as.ab("testab")) -expect_identical(as.character(suppressWarnings(as.ab("testab"))), NA_character_) +ab_reset_session() + +expect_message(as.ab("testab")) suppressMessages( add_custom_antimicrobials(