We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the object for expect_match is zero length, the test fails, but info is not reported. Contrast with expect_equal, when info is reported.
object
info
expect_equal
expect_match(character(0), "regex", info = "my info") expect_equal(character(0), "regex", info = "my info")
Expected: if object is zero length, the user's info string should be used, in line with other testthat expectations.
Maybe related to #100
The text was updated successfully, but these errors were encountered:
9029373
No branches or pull requests
If the
object
for expect_match is zero length, the test fails, butinfo
is not reported. Contrast withexpect_equal
, when info is reported.Expected: if object is zero length, the user's info string should be used, in line with other testthat expectations.
Maybe related to #100
The text was updated successfully, but these errors were encountered: