Skip to content

fix: remove hardcoded default branch name in integration tests#9

Merged
henrikje merged 3 commits intomainfrom
failing-integration-test-276
Feb 16, 2026
Merged

fix: remove hardcoded default branch name in integration tests#9
henrikje merged 3 commits intomainfrom
failing-integration-test-276

Conversation

@henrikje
Copy link
Copy Markdown
Owner

Two tests hardcoded main as the default branch, causing failures in environments where the default is master. Replace with branch-agnostic patterns that work regardless of the default branch name.

henrikje and others added 3 commits February 16, 2026 13:01
Two tests hardcoded `main` as the default branch, causing failures in
environments where the default is `master`. Replace with branch-agnostic
patterns that work regardless of the default branch name.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bare repos created with `git init --bare` without `-b main` inherit the
system's init.defaultBranch setting, which defaults to `master` in many
CI environments. This caused 14 test failures where assertions expected
`main` as the default branch name.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@henrikje henrikje merged commit 3f4f0da into main Feb 16, 2026
1 check passed
@henrikje henrikje deleted the failing-integration-test-276 branch February 16, 2026 12: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.

1 participant