Skip to content

Commit 8bfc649

Browse files
committed
Update test for GitHub Actions
1 parent 433a650 commit 8bfc649

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/testthat/test_internals.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ test_that("test internal functions", {
99
R = 0.1,
1010
times = 1,
1111
clusters = 10,
12-
method = "seq"), regexp = "The length of times cannot be smaller than 2")
12+
method = "seq"),
13+
regexp = "task 1 failed - \"\\[RLumCarlo Internal Error\\] The length of times cannot be smaller than 2!\"")
1314

1415
## times non-equidistant
1516
expect_error(run_MC_CW_OSL_DELOC(
1617
A = 0.12,
1718
R = 0.1,
1819
times = c(0,1,10,2,1),
1920
clusters = 10,
20-
method = "seq"), regexp = "Non-equidistant elements in times are not supported")
21+
method = "seq"),
22+
regexp = "task 1 failed - \"\\[RLumCarlo Internal Error\\] Non-equidistant elements in times are not supported!\"")
2123

2224
})
2325

0 commit comments

Comments
 (0)