Skip to content

Commit

Permalink
fix (( linting
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhurford committed Sep 16, 2017
1 parent 37f7eff commit d5d26c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test-is.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test_that("simple matchers", {
test_that("more complex classes", {
expect_true(iris %is% data.frame)
expect_true(list(1, 2, 3) %is% list)
expect_true( (a ~ b + c) %is% formula)
expect_true((a ~ b + c) %is% formula)
})

test_that("complex class matching", {
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-validate.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test_that("functions", {
})

test_that("simple errors with complex objects", {
expect_error(validate( (a ~ b + c) %isnot% formula),
expect_error(validate((a ~ b + c) %isnot% formula),
"(a ~ b + c) %isnot% formula", fixed = TRUE)
expect_error(validate(c("a", "b") %is% simple_string),
"c(\"a\", \"b\") %is% simple_string", fixed = TRUE)
Expand Down

0 comments on commit d5d26c0

Please sign in to comment.