Skip to content
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

Test for Unique Capture Group Parsing #365

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Conversation

cpisciotta
Copy link
Owner

Changes

Add a unit test that checks if each line of xcodebuild output is captured by at most 1 type.

@cpisciotta cpisciotta linked an issue Jan 22, 2025 that may be closed by this pull request
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.31%. Comparing base (aa640ad) to head (5df61bd).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #365   +/-   ##
=======================================
  Coverage   91.31%   91.31%           
=======================================
  Files          17       17           
  Lines        2441     2441           
=======================================
  Hits         2229     2229           
  Misses        212      212           

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

cpisciotta added a commit that referenced this pull request Feb 10, 2025
As a prerequisite to #365, delete this overly-generic definition that
conflicts with `ShellCommandCaptureGroup`. Given there aren't tests
against this regular expression, it's unclear what output it actually
expects and how it differs from `LinkerDuplicateSymbolsCaptureGroup`.
Given this definition is formatted as `nil` output, we can safely delete
this type; deleting this type won't impact user-facing logs, so the only
known trade-off is a potential time regression.
@cpisciotta cpisciotta force-pushed the charles/ParsingTestsCount branch 2 times, most recently from 4adf8c9 to 5c9f304 Compare February 10, 2025 02:56
@cpisciotta cpisciotta changed the title Test for Unique Capture Groups Test for Unique Capture Group Parsing Feb 10, 2025
@cpisciotta cpisciotta force-pushed the charles/ParsingTestsCount branch 7 times, most recently from d9aa979 to ba8d1b0 Compare February 11, 2025 03:12
cpisciotta added a commit that referenced this pull request Feb 11, 2025
## Changes

Prerequisite to #365. Prevents conflicts with
`NonPCHClangCommandCaptureGroup`.
@cpisciotta cpisciotta force-pushed the charles/ParsingTestsCount branch from ba8d1b0 to 5df61bd Compare February 11, 2025 03:17
@cpisciotta cpisciotta marked this pull request as ready for review February 11, 2025 03:19
@cpisciotta cpisciotta merged commit 5ae46aa into main Feb 11, 2025
15 checks passed
@cpisciotta cpisciotta deleted the charles/ParsingTestsCount branch February 11, 2025 03:21
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.

Add Unique Capture Group Tests
1 participant