Skip to content

Bugfix flag emojis after control characters - #301

Merged
jquast merged 1 commit into
masterfrom
jq/ri-pairing-after-control
Oct 23, 2026
Merged

jquast merged 1 commit into
masterfrom
jq/ri-pairing-after-control

Conversation

@jquast

@jquast jquast commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

This bug was found by static analysis, it is small. It would be uncommon in practical use, the highest level functions already split or replace errant control characters (newline, tab), escape sequences are iterated over, and even the low-level graphemes functions used by editors also avoid control characters.

The GraphemeBreakTest.txt is missing a test for this bug, so we create our own using TDD.

The GraphemeBreakTest.txt is missing a test for this bug, so we create
our own using TDD.

This bug was found by static analysis, it would be uncommon in practical
use, the highest level functions already split or replace errant control
characters (newline, tab), escape sequences are iterated over, and even
the low-level graphemes functions used by editors also avoid likely
control characters.
@codspeed

codspeed Bot commented Oct 23, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 121 untouched benchmarks


Comparing jq/ri-pairing-after-control (48a0b74) with master (d137ffb)

Open in CodSpeed

@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.82%. Comparing base (d137ffb) to head (48a0b74).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #301   +/-   ##
=======================================
  Coverage   87.82%   87.82%           
=======================================
  Files          41       41           
  Lines        5625     5625           
  Branches     1510     1510           
=======================================
  Hits         4940     4940           
  Misses        319      319           
  Partials      366      366           

☔ 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 f22d465 into master Oct 23, 2026
38 checks passed
@jquast
jquast deleted the jq/ri-pairing-after-control branch October 23, 2026 15:26
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.

1 participant