Skip to content

Commit

Permalink
do not match on exact error message in test
Browse files Browse the repository at this point in the history
  • Loading branch information
mllg committed Apr 8, 2018
1 parent 3a878b7 commit 176d442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-sprinkle_fixed_header.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ test_that(
"Cast an error if x does not inherit class dust",
{
expect_error(sprinkle_fixed_header(mtcars),
"Must have class 'dust'")
"class 'dust'")
}
)

Expand Down

0 comments on commit 176d442

Please sign in to comment.