mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 11:51:59 +02:00
(v1.5.0.9020) translation fix
This commit is contained in:
@ -84,6 +84,9 @@ test_that("mo_property works", {
|
||||
expect_output(print(mo_gramstain("Escherichia coli", language = "fr")))
|
||||
|
||||
expect_error(mo_gramstain("Escherichia coli", language = "UNKNOWN"))
|
||||
|
||||
dutch <- mo_name(microorganisms$fullname, language = "nl") # should be transformable to English again
|
||||
expect_identical(mo_name(dutch, language = NULL), microorganisms$fullname) # gigantic test - will run ALL names
|
||||
|
||||
# manual property function
|
||||
expect_error(mo_property("Escherichia coli", property = c("tsn", "fullname")))
|
||||
|
Reference in New Issue
Block a user