(v2.1.1.9052) unit test fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2024-06-16 20:53:50 +02:00
1 parent 4ffac7e22d
commit 68f7795481
7 files changed
+106 -61

No files matched your search

+3 -1
View File
@@ -28,7 +28,7 @@
# ==================================================================== #
expect_identical(as.mo("Enterobacter asburiae/cloacae"),
as.mo("Enterobacter cloacae cloacae"))
as.mo("Enterobacter asburiae"))
suppressMessages(
add_custom_microorganisms(
@@ -44,3 +44,5 @@ expect_identical(mo_gramstain("ENT_ASB_CLO", language = NULL), "Gram-negative")
expect_identical(paste("B", AMR:::abbreviate_mo("Klebsiella"), AMR:::abbreviate_mo("pneumoniae", 4), sep = "_"),
as.character(as.mo("Klebsiella pneumoniae")))
expect_identical(paste("B", AMR:::abbreviate_mo("Aerococcus"), AMR:::abbreviate_mo("urinae", 4), sep = "_"),
as.character(as.mo("Aerococcus urinae")))