Skip to content

Commit

Permalink
fix (one more) failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
rtesra committed Dec 11, 2024
1 parent e2f8203 commit f92bd30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-01-run-model.R
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ test_that("exceeding max_iterations raises convergence warning", {
expect_length(out$warnings, 3)

expect_equal(out$warnings[[1]]$text,
paste0("Naomi subnational data not equal to Spectrum national data. Check table on review inputs tab for: \nnumber_on_art: 2019;2021;2022;2023"))
paste0("Naomi subnational data not equal to Spectrum national data. Check table on review inputs tab for: \nnumber_on_art: 2011;2012;2013;2014;2015;2016;2017;2018;2019;2020;2021;2022;2023"))

expect_equal(out$warnings[[3]]$text,
paste0("Convergence error: iteration limit reached without convergence (10)"))
Expand Down

0 comments on commit f92bd30

Please sign in to comment.