mirror of
https://github.com/msberends/AMR.git
synced 2025-07-13 02:32:07 +02:00
remove warnings from unit tests
This commit is contained in:
@ -297,7 +297,7 @@ expect_equal(as.character(as.mo("con")), "UNKNOWN")
|
||||
expect_equal(as.character(as.mo("xxx")), NA_character_)
|
||||
expect_equal(as.character(as.mo(c("xxx", "con", "eco"))), c(NA_character_, "UNKNOWN", "B_ESCHR_COLI"))
|
||||
expect_equal(
|
||||
as.character(as.mo(c("other", "none", "unknown"))),
|
||||
as.character(suppressWarnings(as.mo(c("other", "none", "unknown")))),
|
||||
rep("UNKNOWN", 3)
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user