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
expands the vectors during reporting. Tested with 1d04028.
library(testthat) expect_equal(letters[1:2], LETTERS[1:2]) #> Error: letters[1:2] not equal to LETTERS[1:2]. #> 2/2 mismatches #> x[1]: "a" #> y[1]: "A" #> #> x[2]: "b" #> y[2]: "B" expect_equal(letters[1:2], !!LETTERS[1:2]) #> Error: letters[1:2] not equal to "A". #> 2/2 mismatches #> x[1]: "a" #> y[1]: "A" #> #> x[2]: "b" #> y[2]: "B" #> letters[1:2] not equal to "B". #> 2/2 mismatches #> x[1]: "a" #> y[1]: "A" #> #> x[2]: "b" #> y[2]: "B" expect_equal(!!letters[1:2], LETTERS[1:2]) #> Error: "a" not equal to LETTERS[1:2]. #> 2/2 mismatches #> x[1]: "a" #> y[1]: "A" #> #> x[2]: "b" #> y[2]: "B" #> "b" not equal to LETTERS[1:2]. #> 2/2 mismatches #> x[1]: "a" #> y[1]: "A" #> #> x[2]: "b" #> y[2]: "B" expect_equal(!!letters[1:2], !!LETTERS[1:2]) #> Error: "a" not equal to "A". #> 2/2 mismatches #> x[1]: "a" #> y[1]: "A" #> #> x[2]: "b" #> y[2]: "B" #> "b" not equal to "B". #> 2/2 mismatches #> x[1]: "a" #> y[1]: "A" #> #> x[2]: "b" #> y[2]: "B"
Created on 2019-08-27 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered:
0aa7b19
No branches or pull requests
expands the vectors during reporting. Tested with 1d04028.
Created on 2019-08-27 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: