Skip to content

Commit

Permalink
update tests for new behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
philchalmers committed Dec 2, 2024
1 parent 6df3eae commit c6cf466
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/tests/test-02-aggregate.R
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,11 @@ test_that('aggregate', {
expect_true(all(names(x) %in% c('condition', 'results', 'errors', 'warnings', "error_seeds",
'warning_seeds')))
row1 <- SimResults(tmp, 1)
expect_is(row1, 'list')
expect_equal(length(row1), 6)
expect_is(row1, 'tbl_df')
expect_equal(nrow(row1), 2)
row1to5 <- SimResults(tmp, 1:5)
expect_is(row1to5, 'list')
expect_equal(length(row1to5), 5)
expect_is(row1to5, 'tbl_df')
expect_equal(nrow(row1to5), 10)
SimClean(results = TRUE)
# SimClean(dirs=DIR)

Expand Down

0 comments on commit c6cf466

Please sign in to comment.