Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
test: fix crypto test case to use correct encoding #17956
The callback would have errored out anyway due to the incorrect encoding, and that error is not the point of this test case.
Affected core subsystem(s)
It already does not pass, but there is no reason to intentionally use an incorrect encoding here. If we really want to pass an invalid encoding, we should at least add a comment. To me, it was not obvious why the test failed with the message