aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2024-08-05 19:03:21 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2024-08-05 19:03:21 +0200
commit77189d666eb39d2660245c2f008175dc4560f647 (patch)
treefbd07f059b5da70c813526047f16464f7e4d745f /tests
parent1b58327278038a1111a88c521e6992c15e0b17ea (diff)
Fix a bug introduced by the last commitHEADmain
Diffstat (limited to 'tests')
-rw-r--r--tests/testthat/test_chent.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testthat/test_chent.R b/tests/testthat/test_chent.R
index 4551cf7..7594640 100644
--- a/tests/testthat/test_chent.R
+++ b/tests/testthat/test_chent.R
@@ -15,7 +15,7 @@ test_that("We can generate a chent object from SMILES using RDKit", {
})
test_that("We can add information retrieved from PubChem via webchem", {
- oct$try_pubchem()
+ expect_warning(oct$try_pubchem(), "Overwriting uninitialized InChIKey")
expect_equivalent(round(oct$mw, 2), 130.23)
ik = "KBPLFHHGFOOTCA-UHFFFAOYSA-N"
attr(ik, "source") <- "pubchem"

Contact - Imprint