Skip to content

Commit

Permalink
update test for read_households
Browse files Browse the repository at this point in the history
  • Loading branch information
rafapereirabr committed Jul 16, 2024
1 parent 940c838 commit 0ad424a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_read_households.R
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ test_that("read_households totals", {

# 2000
dfh <- tester(year = 2000)
total_2000_p <- dplyr::summarise(dfh, total = sum(PESO_DOMIC, na.rm=T)) |> dplyr::collect()
total_2000_p <- dplyr::summarise(dfh, total = sum(P001, na.rm=T)) |> dplyr::collect()
expect_equal(total_2000_p$total, 45507516)


Expand Down

0 comments on commit 0ad424a

Please sign in to comment.