I'm not sure of the scope of this bug, but it at least happens for logical operators.
library(gradethis)
ex <- mock_this_exercise(
.user_code = "TRUE | FALSE",
.solution_code = "FALSE & FALSE"
)
grade_this({
fail_if_code_feedback()
pass()
})(ex)
#> <gradethis_graded: [Incorrect]
#> I expected you to call ``&`()` where you called ``|`()`.
#> >
I'm not sure of the scope of this bug, but it at least happens for logical operators.
The expected feedback message is