Skip to content

Commit 67dd871

Browse files
committed
Adapt expected error message to work for github actions
1 parent ee3b914 commit 67dd871

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testthat/test-isDefined.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ test_that("output_isDefined_dataframeD_columnA", {
3939
})
4040

4141
test_that("output_isDefined_dataframeE_columnA", {
42-
expect_error(isDefined(ds.test_env$connections, "E$A"), "There are some DataSHIELD errors:", fixed = TRUE)
42+
expect_error(isDefined(ds.test_env$connections, "E$A"), "There are some DataSHIELD errors", fixed=TRUE)
4343
})
4444

4545
# error.message = FALSE
@@ -85,7 +85,7 @@ test_that("output_isDefined_dataframeD_columnA_errormessageFALSE", {
8585
})
8686

8787
test_that("output_isDefined_dataframeE_columnA_errormessageFALSE", {
88-
expect_error(isDefined(ds.test_env$connections, "E$A", error.message = FALSE), "There are some DataSHIELD errors:", fixed = TRUE)
88+
expect_error(isDefined(ds.test_env$connections, "E$A", error.message = FALSE), "There are some DataSHIELD errors", fixed = TRUE)
8989
})
9090

9191
#

0 commit comments

Comments
 (0)