Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Table::getDisplayLines() should not output excessive lines when no rows #165

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

Open
slaFFik wants to merge 3 commits into wp-cli:main
base: main
Choose a base branch
Loading
from slaFFik:patch-2

Conversation

@slaFFik
Copy link
Contributor

@slaFFik slaFFik commented Sep 28, 2023

Fix #164.

@slaFFik slaFFik requested a review from a team as a code owner September 28, 2023 21:10
@slaFFik slaFFik changed the title (削除) Table::getDisplayLines() should not output excessive lines (削除ここまで) (追記) Table::getDisplayLines() should not output excessive lines when no rows (追記ここまで) Sep 28, 2023
Copy link
Member

@danielbachhuber danielbachhuber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make sure the tests are addressed accordingly?

Copy link
Contributor Author

slaFFik commented Sep 29, 2023

Yes, sure, I will try to do that today/tomorrow.
Sorry for missing them (was in jeopardy when creating this PR and forgot to check the checks' status, my bad).

Copy link
Contributor Author

slaFFik commented Sep 29, 2023

@danielbachhuber, test Test_Table_Ascii::testDrawWithHeadersNoData() fixed, all checks are 🍏.

Copy link
Member

@slaFFik What do you think about avoiding the back compat break? #164 (comment)

Copy link

codecov bot commented Nov 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@danielbachhuber danielbachhuber danielbachhuber left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Table::getDisplayLines() can output excessive lines

AltStyle によって変換されたページ (->オリジナル) /