Skip to content
Snippets Groups Projects
Commit 22e3512d authored by Luke Zappia's avatar Luke Zappia
Browse files

Fix quotes bug in tests

parent 6fd0429b
No related branches found
No related tags found
No related merge requests found
......@@ -20,9 +20,7 @@ test_that("path.from checks work", {
params <- setParamUnchecked(params, "path.from", c(0, 1))
expect_silent(validObject(params))
params <- setParamUnchecked(params, "path.from", c(0, 3))
expect_error(validObject(params),
paste('invalid class "SplatParams" object: path.from:',
"All elements must be <= 2"))
expect_error(validObject(params), "invalid class")
params <- setParamUnchecked(params, "path.from", c(1, 0))
expect_error(validObject(params), "path cannot begin at itself")
params <- newSplatParams()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment