From c4aa92b4a7f58bbd4a5ebacc43b61a288a511dce Mon Sep 17 00:00:00 2001 From: "Matthijs S. Berends" Date: Mon, 13 May 2019 13:03:30 +0200 Subject: [PATCH] fixed unit test --- tests/testthat/test-mo.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-mo.R b/tests/testthat/test-mo.R index 44f62095..3df461fe 100644 --- a/tests/testthat/test-mo.R +++ b/tests/testthat/test-mo.R @@ -202,7 +202,7 @@ test_that("as.mo works", { expect_warning(as.mo("esco extra_text", allow_uncertain = TRUE)) expect_equal(suppressWarnings(as.character(as.mo("unexisting aureus", allow_uncertain = 3))), "B_STPHY_AUR") expect_equal(suppressWarnings(as.character(as.mo("unexisting staphy", allow_uncertain = 3))), "B_STPHY") - expect_equal(suppressWarnings(as.character(as.mo("Staphylococcus aureus unexisting", allow_uncertain = 3))), "B_STPHY") + expect_equal(suppressWarnings(as.character(as.mo("Staphylococcus aureus unexisting", allow_uncertain = 3))), "B_STPHY_AUR") # predefined reference_df expect_equal(as.character(as.mo("TestingOwnID",