mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 08:32:04 +02:00
ab_info, other bug fixes
This commit is contained in:
@ -49,6 +49,8 @@ test_that("ab_property works", {
|
||||
expect_identical(ab_name(x = c("AMC", "PLB"), tolower = TRUE),
|
||||
c("amoxicillin/clavulanic acid", "polymyxin B"))
|
||||
|
||||
expect_equal(class(ab_info("AMX")), "list")
|
||||
|
||||
expect_error(ab_property("amox", "invalid property"))
|
||||
expect_error(ab_name("amox", language = "INVALID"))
|
||||
expect_output(print(ab_name("amox", language = NULL)))
|
||||
|
Reference in New Issue
Block a user