mirror of
https://github.com/f/git-rewrite-commits.git
synced 2026-04-27 14:45:50 +03:00
[PR #22] [CLOSED] Replace unclear test failure pattern with explicit error throwing #22
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/git-rewrite-commits#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/f/git-rewrite-commits/pull/22
Author: @Copilot
Created: 11/18/2025
Status: ❌ Closed
Base:
feature/tests← Head:copilot/sub-pr-20-again📝 Commits (2)
d6c5481Initial plane6ff498refactor: replace unclear test failures with explicit error throwing📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
tests/cli.e2e.test.ts(+2 -2)📄 Description
Addresses feedback from PR #20 to replace
expect(true).toBe(false)with explicit error throwing for clearer test intent.Changes:
expect(true).toBe(false)withthrow new Error('Expected to throw')in two test cases that expect exceptionsBefore:
After:
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.