Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
test(switch): drop "override" from the azure forge-platform test name (#2696)
Maximilian Roos768aa33e3d2f
diff --git a/tests/integration_tests/switch.rs b/tests/integration_tests/switch.rsindex 66d643870..65ca4f2ad 100644--- a/tests/integration_tests/switch.rs+++ b/tests/integration_tests/switch.rs@@ -4417,11 +4417,11 @@ fn test_switch_pr_azure_az_not_installed(#[from(repo_with_remote)] repo: TestRep});}-/// `forge.platform = "azure-devops"` overrides remote-URL detection. With a-/// non-Azure URL, the override picks the Azure provider directly.+/// `forge.platform = "azure-devops"` selects the Azure provider directly, even+/// when the remote URL doesn't look like Azure DevOps.#[rstest]-fn test_switch_pr_azure_forge_platform_override(#[from(repo_with_remote)] repo: TestRepo) {- // Non-Azure-looking URL — without the override we'd default to GitHub.+fn test_switch_pr_azure_forge_platform(#[from(repo_with_remote)] repo: TestRepo) {+ // Non-Azure-looking URL — without `forge.platform` set we'd default to GitHub.repo.run_git(&["remote","set-url",@@ -4453,7 +4453,7 @@ fn test_switch_pr_azure_forge_platform_override(#[from(repo_with_remote)] repo:settings.bind(|| {let mut cmd = make_snapshot_cmd(&repo, "switch", &["--create", "pr:101"], None);configure_mock_cli_env(&mut cmd, &mock_bin);- assert_cmd_snapshot!("switch_pr_azure_forge_platform_override", cmd);+ assert_cmd_snapshot!("switch_pr_azure_forge_platform", cmd);});}diff --git a/tests/snapshots/integration__integration_tests__switch__switch_pr_azure_forge_platform_override.snap b/tests/snapshots/integration__integration_tests__switch__switch_pr_azure_forge_platform.snapsimilarity index 100%rename from tests/snapshots/integration__integration_tests__switch__switch_pr_azure_forge_platform_override.snaprename to tests/snapshots/integration__integration_tests__switch__switch_pr_azure_forge_platform.snap