Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
d-morrison committed Jan 8, 2025
1 parent 6efd9fe commit 7b7f23b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/testthat/test-serocalculator_example.R
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
test_that("`serocalculator_example()` works", {

path1 = serocalculator_example("example_pop_data.csv")
path2 = fs::path_package(package = "serocalculator",
"extdata/example_pop_data.csv")
path1 <- serocalculator_example("example_pop_data.csv")
path2 <- fs::path_package(
package = "serocalculator",
"extdata/example_pop_data.csv"
)
expect_equal(path1, path2)


files1 = serocalculator_example()
files2 = "example_pop_data.csv"
files1 <- serocalculator_example()
files2 <- "example_pop_data.csv"

expect_equal(files1, files2)

})

0 comments on commit 7b7f23b

Please sign in to comment.