Closed rohitpaulk closed 4 months ago
Instead of just saying "Length mismatch", let's say:
Expected 28 bytes, received 24 bytes Expected: .... Received: ...
We might also be able to re-use https://github.com/codecrafters-io/tester-utils/blob/master/bytes_diff_visualizer/bytes_diff_visualizer.go in some way, but probably not needed here since there's no non-ascii characters involved
CC-1040 Improve error message for message length mismatch
Thanks to @b14cknc0d3 for reporting this!
Should be fixed.
Instead of just saying "Length mismatch", let's say:
We might also be able to re-use https://github.com/codecrafters-io/tester-utils/blob/master/bytes_diff_visualizer/bytes_diff_visualizer.go in some way, but probably not needed here since there's no non-ascii characters involved