Repository navigation
pr: fix expected output in non-UTF-8 merge test - #16161
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
|
Thanks for your PR |
Summary
Fix the expected output of
test_merge_non_utf8_input_filenameand re-enable the regression test.Problem
The test expected the final column to be padded to 35 characters. However,
printentionally does not pad the last cell of a merged row.This behavior is documented in
get_line_for_printing():The incorrect expectation caused the test to fail even though the formatter was behaving as intended.
Changes
Testing
cargo nextest run -E 'test(test_merge_non_utf8_input_filename)'The test passes with the corrected expectation.
Closes #16147