Skip to content

Commit

Permalink
test: make sure datasets are provided in correct order
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjohnst86 committed Jun 25, 2024
1 parent 78515fa commit 82b355c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/testthat/test-joins.R
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@ test_that("joining LPR3 correctly", {
expect_equal(actual, expected_lpr3)
})

test_that("kontakter and diagnoser are in correct order", {
expect_error(join_lpr3(
actual_diagnoser,
actual_kontakter
))
})

test_that("joining works for DuckDB Database", {
actual <- arrow::to_duckdb(actual_diagnoser) |>
join_lpr3(arrow::to_duckdb(actual_kontakter))
Expand Down

0 comments on commit 82b355c

Please sign in to comment.