Skip to content

Commit

Permalink
Using kwb.utils >= v0.15.0 should have fixed it
Browse files Browse the repository at this point in the history
  • Loading branch information
hsonne committed Mar 28, 2024
1 parent f417055 commit d61b6fa
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions tests/testthat/test-function-setGlobalInspectionID.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,5 @@ test_that("setGlobalInspectionID() works", {
error.file = error.file
))

if (!file.exists(error.file)) {
stop(
"error.file does not exist: ", error.file, "\n",
"files in dirname(error.file):\n",
kwb.utils::stringList(dir(dirname(error.file)))
)
}

#expect_true(file.exists(error.file))
expect_true(file.exists(error.file))
})

0 comments on commit d61b6fa

Please sign in to comment.