Skip to content

Commit

Permalink
Test to check if csv is written
Browse files Browse the repository at this point in the history
  • Loading branch information
quishqa committed Jan 28, 2022
1 parent b32c6ff commit 036a8e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/test-CetesbRetrieveParam.R
Expand Up @@ -9,5 +9,7 @@ test_that("CetesbRetrieveParam works!", {
"01/01/2020", "07/01/2020",
to_csv = TRUE, csv_path = csv_path)

expect_equal(2 * 2, 4)
expect_equal(TRUE, file.exists(paste0(
csv_path, "/Pinheiros_O3_NOX_VV_01-01-2020_07-01-2020.csv")
))
})

0 comments on commit 036a8e1

Please sign in to comment.