From 77189d666eb39d2660245c2f008175dc4560f647 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 5 Aug 2024 19:03:21 +0200 Subject: Fix a bug introduced by the last commit --- tests/testthat/test_chent.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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" -- cgit v1.2.1