Skip to content

Commit

Permalink
difference in quotes in test
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lawrence Miller committed Aug 9, 2016
1 parent 8600449 commit ad7157b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test_ds.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ test_that("Input errors are thrown correctly",{

# incorrect key definition?
expect_error(ds(egdata,4,key="bananas"),
"'arg' should be one of “hn”, “hr”, “unif")
"'arg' should be one of \"hn\", \"hr\", \"unif\"")

# incorrect adjustment definition?
expect_error(ds(egdata,4,key="hn",adjustment="bananas"),
"'arg' should be one of cos”, “herm”, “poly")
"'arg' should be one of \"cos\", \"herm\", \"poly\"")

# first cutpoint not zero when no left truncation
expect_error(ds(egdata,4,cutpoints=c(2,3,4)),
Expand Down

0 comments on commit ad7157b

Please sign in to comment.