Skip to content

fix(git): remove debug_graph_descendant_of_semantics test with noisy eprintln output#20

Merged
noahbclarkson merged 1 commit intomainfrom
fix/cleanup-debug-test
Apr 28, 2026
Merged

fix(git): remove debug_graph_descendant_of_semantics test with noisy eprintln output#20
noahbclarkson merged 1 commit intomainfrom
fix/cleanup-debug-test

Conversation

@noahbclarkson
Copy link
Copy Markdown
Owner

What

Remove the test from .

This test was a development artifact added alongside the fix in . It contains no assertions — only 16 debug statements that print commit SHAs, parent info, and graph reachability results to stderr whenever the test runs.

The four actual unit tests added in cover all the real behavior:

  • — true merge scenario
  • — divergent branches
  • — fast-forward scenario
  • — key bug scenario

Changes

  • 1 file changed, 54 deletions
  • : removed test function
  • All debug output eliminated
  • No functional changes — test count drops by 1 (712 → 711), all other tests unchanged

Verification

  • ✅ 712 tests passing

…eprintln output

The test was a development artifact used to understand graph_descendant_of
semantics before implementing the is_merged_into_main fix. It has no
assertions — only eprintln! debugging output — and is superseded by the
four actual unit tests added in bd637e3.

Removing it eliminates 50 lines of dead test code and 16 eprintln!
statements that would print to test output.
@noahbclarkson noahbclarkson force-pushed the fix/cleanup-debug-test branch from f7ca6c8 to 37b6723 Compare April 27, 2026 23:05
@noahbclarkson noahbclarkson marked this pull request as ready for review April 28, 2026 09:29
@noahbclarkson noahbclarkson merged commit 2e89fa5 into main Apr 28, 2026
3 checks passed
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