We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35cfa3f commit 06152b9Copy full SHA for 06152b9
tests/test_changeset_cli.py
@@ -216,7 +216,9 @@ def test_check_changeset_on_main_branch(
216
result = cli_runner.invoke(cli, ["check-changeset"])
217
218
assert result.exit_code == 0
219
- assert "Skipping changeset check for branch: main" in result.output
+ # Accept either main or master as the default branch
220
+ assert ("Skipping changeset check for branch: main" in result.output or
221
+ "Skipping changeset check for branch: master" in result.output)
222
223
def test_check_changeset_on_feature_branch_without_changeset(
224
self, cli_runner: CliRunner, initialized_changeset_project: Path
0 commit comments