Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
philchalmers committed Jul 28, 2024
1 parent 0610b1b commit 0c3f898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tests/test-02-aggregate.R
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ test_that('aggregate', {
analyse=mycompute_ew, summarise=mycollect, verbose=FALSE,
filename='sim2')

ret <- SimCollect(c('sim1.rds', 'sim2.rds'))
ret <- SimCollect(c('sim1.rds', 'sim2.rds'), warning_details = TRUE)
expect_true(all(na.omit(ret$WARNINGS == c(NA,NA,200,200,200,200,400,400))))
expect_true(all(ret$ERRORS > 0 | is.na(ret$ERRORS)))
expect_equal(sum(results$ERRORS + results2$ERRORS), sum(ret$ERRORS, na.rm=TRUE))
Expand Down

0 comments on commit 0c3f898

Please sign in to comment.