Skip to content

Commit 093a521

Browse files
committed
fix(tests): use fork-aware command prefix in opencode canonical-dir test
Assisted-by: opencode (model: glm-5.2, autonomous)
1 parent 1d12450 commit 093a521

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/integrations/test_integration_opencode.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from specify_cli.integrations import get_integration
77
from specify_cli.integrations.manifest import IntegrationManifest
88

9+
from tests.conftest import _cmd_prefix
910
from .test_integration_base_markdown import MarkdownIntegrationTests
1011

1112

@@ -196,4 +197,4 @@ def test_setup_writes_to_canonical_dir(self, tmp_path):
196197
legacy = tmp_path / ".opencode" / "command"
197198
assert canonical.is_dir()
198199
assert not legacy.exists()
199-
assert any(canonical.glob("speckit.*.md"))
200+
assert any(canonical.glob(f"{_cmd_prefix()}.*.md"))

0 commit comments

Comments
 (0)