1
0
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:
2021-02-18 23:23:14 +01:00
parent 601ea7377c
commit daa12ced2c
22 changed files with 1416 additions and 1381 deletions

View File

@ -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")))