Skip to content

Commit d61b6fa

Browse files
committed
Using kwb.utils >= v0.15.0 should have fixed it
1 parent f417055 commit d61b6fa

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

tests/testthat/test-function-setGlobalInspectionID.R

+1-9
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,5 @@ test_that("setGlobalInspectionID() works", {
2626
error.file = error.file
2727
))
2828

29-
if (!file.exists(error.file)) {
30-
stop(
31-
"error.file does not exist: ", error.file, "\n",
32-
"files in dirname(error.file):\n",
33-
kwb.utils::stringList(dir(dirname(error.file)))
34-
)
35-
}
36-
37-
#expect_true(file.exists(error.file))
29+
expect_true(file.exists(error.file))
3830
})

0 commit comments

Comments
 (0)