-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
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
Use ljust to left justify and pad strings #5254
Use ljust to left justify and pad strings #5254
Conversation
@miq-bot add_label bug |
4fdb218
to
aa7ee41
Compare
cc @gtanzillo |
Current CI failures seem related:
|
yeah, @mzazrivec, interesting... they pass locally... I wonder if another test is modifying class ivars. I'll fix it up and let you know when it's ready to go. |
Text based reports ignore line widths. Performing manual padding was causing a "negative argument" error if a line exceeded the normal report's line width. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1677839
aa7ee41
to
10f082f
Compare
Checked commit jrafanie@10f082f with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
ok @mzazrivec, it's ready to go. I had to change the test to ensure it was testing the scenario in which it was not truncating long lines. Thanks! |
@jrafanie changes look good, thanks. Also, I hope you did not get too puzzled by |
…text_ignores_line_width Use ljust to left justify and pad strings (cherry picked from commit 805c194) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1693727
Hammer backport details:
|
Text based reports ignore line widths. Performing manual padding was
causing a "negative argument" error if a line exceeded the normal
report's line width.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1677839