Skip to content

wrap() should omit an empty line as output - #292

Merged
jquast merged 3 commits into
masterfrom
jq/pr291-more
Oct 4, 2026
Merged

jquast merged 3 commits into
masterfrom
jq/pr291-more

Conversation

@jquast

@jquast jquast commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Supersedes #291

  • Skip lines emptied by whitespace stripping in wrap
  • Add tests for dropping leading whitespace-only lines in wrap
  • libwcwidth: drop whitespace-only lines in wrap()

@codspeed

codspeed Bot commented Oct 4, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 121 untouched benchmarks


Comparing jq/pr291-more (6cbd970) with master (b770e71)

Open in CodSpeed

@codecov

codecov Bot commented Oct 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.76%. Comparing base (b770e71) to head (6cbd970).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #292      +/-   ##
==========================================
+ Coverage   87.61%   87.76%   +0.15%     
==========================================
  Files          41       41              
  Lines        5611     5617       +6     
  Branches     1502     1504       +2     
==========================================
+ Hits         4916     4930      +14     
+ Misses        321      319       -2     
+ Partials      374      368       -6     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jquast
jquast merged commit f1793ab into master Oct 4, 2026
38 checks passed
@jquast
jquast deleted the jq/pr291-more branch October 4, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants