Skip to content

Commit f417055

Browse files
committed
Try harder
1 parent ea7df69 commit f417055

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/testthat/test-function-setGlobalInspectionID.R

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ test_that("setGlobalInspectionID() works", {
2727
))
2828

2929
if (!file.exists(error.file)) {
30-
message(
31-
message("error.file does not exist: ", error.file)
32-
"files in dirname(error.file): ",
30+
stop(
31+
"error.file does not exist: ", error.file, "\n",
32+
"files in dirname(error.file):\n",
3333
kwb.utils::stringList(dir(dirname(error.file)))
3434
)
3535
}
3636

37-
expect_true(file.exists(error.file))
37+
#expect_true(file.exists(error.file))
3838
})

0 commit comments

Comments
 (0)