Skip to content

Commit bcd763b

Browse files
committed
Reaction to changes to packages
1 parent 5223c6c commit bcd763b

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/testthat/test-arg-ds.foobar.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ test_that("setup", {
2929
test_that("NULL connections", {
3030
calltext <- call("fooBarDS")
3131
if (ds.test_env$driver == "ArmadilloDriver") {
32-
expect_error(datashield.aggregate(conns=NULL, expr=calltext), "unable to find an inherited method for function 'dsIsAsync' for signature 'conn = \"NULL\"'", fixed=TRUE)
32+
expect_error(datashield.aggregate(conns=NULL, expr=calltext), "unable to find an inherited method for function dsIsAsync for signature conn = \"NULL\"", fixed=TRUE)
3333
} else if (ds.test_env$driver == "OpalDriver") {
34-
expect_error(datashield.aggregate(conns=NULL, expr=calltext), "unable to find an inherited method for function 'dsIsAsync' for signature 'conn = \"NULL\"'", fixed=TRUE)
34+
expect_error(datashield.aggregate(conns=NULL, expr=calltext), "unable to find an inherited method for function dsIsAsync for signature conn = \"NULL\"", fixed=TRUE)
3535
} else {
3636
fail(message = "Unknown driver type", info = ds.test_env$driver)
3737
}
@@ -69,9 +69,9 @@ test_that("non existent aggregate foobarDS", {
6969
test_that("NULL connections", {
7070
calltext <- call("fooBarDS")
7171
if (ds.test_env$driver == "ArmadilloDriver") {
72-
expect_error(datashield.assign(conns=NULL, symbol="new_obj", value=calltext), "unable to find an inherited method for function 'dsIsAsync' for signature 'conn = \"NULL\"'", fixed=TRUE)
72+
expect_error(datashield.assign(conns=NULL, symbol="new_obj", value=calltext), "unable to find an inherited method for function dsIsAsync for signature conn = \"NULL\"'", fixed=TRUE)
7373
} else if (ds.test_env$driver == "OpalDriver") {
74-
expect_error(datashield.assign(conns=NULL, symbol="new_obj", value=calltext), "unable to find an inherited method for function 'dsIsAsync' for signature 'conn = \"NULL\"'", fixed=TRUE)
74+
expect_error(datashield.assign(conns=NULL, symbol="new_obj", value=calltext), "unable to find an inherited method for function dsIsAsync for signature conn = \"NULL\"", fixed=TRUE)
7575
} else {
7676
fail(message = "Unknown driver type", info = ds.test_env$driver)
7777
}

tests/testthat/test-smk-ds.colnames.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ test_that("simple colnames", {
4747
test_that("fails if the object does not exist", {
4848
expect_error(
4949
ds.colnames("non_existing_df"),
50-
regexp = "There are some DataSHIELD errors, list them with datashield.error()",
50+
regexp = "The input object non_existing_df is not defined in sim1, sim2, sim3!",
5151
ignore.case = TRUE
5252
)
5353
})

0 commit comments

Comments
 (0)