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

Stop assuming the default primary branch name in tests #294

Open
altendky opened this issue Dec 6, 2020 · 0 comments
Open

Stop assuming the default primary branch name in tests #294

altendky opened this issue Dec 6, 2020 · 0 comments

Comments

@altendky
Copy link
Member

altendky commented Dec 6, 2020

When I installed a new version of Git and let it set the default to main this broke some tests in towncrier that assume the main branch will be master. We need to either detect the primary branch name or just force it in the tests. Forcing seems simpler and main seems a good option.

#287 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant