X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fba33040ea730ccc30035557226fc1a1de32ba6e..649d52a70fd75e255437deb1798fa9f09697b78c:/sdk/R/tests/testthat/test-Collection.R diff --git a/sdk/R/tests/testthat/test-Collection.R b/sdk/R/tests/testthat/test-Collection.R index c3c70910e4..af5fabeb73 100644 --- a/sdk/R/tests/testthat/test-Collection.R +++ b/sdk/R/tests/testthat/test-Collection.R @@ -100,7 +100,7 @@ test_that("create raises exception if passed argumet is not character vector", { collection <- Collection$new(api, "myUUID") expect_that(collection$create(10), - throws_error("Expected character vector, got (numeric).", + throws_error("Expected character vector, got (numeric).", fixed = TRUE)) }) @@ -156,7 +156,7 @@ test_that("remove raises exception if passed argumet is not character vector", { collection <- Collection$new(api, "myUUID") expect_that(collection$remove(10), - throws_error("Expected character vector, got (numeric).", + throws_error("Expected character vector, got (numeric).", fixed = TRUE)) }) @@ -238,7 +238,7 @@ test_that("getFileListing returns sorted collection content received from REST s api$setRESTService(fakeREST) collection <- Collection$new(api, "myUUID") - contentMatchExpected <- all(collection$getFileListing() == + contentMatchExpected <- all(collection$getFileListing() == c("animal", "animal/fish", "ball")) expect_that(contentMatchExpected, is_true())