Skip to content

Commit b153bb6

Browse files
committed
test: assert exact unichem source columns
1 parent 7f16b15 commit b153bb6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/testthat/test_unichem.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ test_that("getUnichemSources returns a data.table with the correct columns", {
2929
col.names = 'named',
3030
info = "The data.table should have the correct columns.
3131
The min number of rows and columns may change over time and is set on
32-
from UniChem as of March 2024.",
32+
from UniChem as of March 2024."
3333
)
34+
35+
expect_setequal(names(sources), expected_columns)
3436
})
3537

3638

0 commit comments

Comments
 (0)