From 17810c8e85dbe6a3e67e3a3f99d711585a933104 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 23 Mar 2026 21:58:41 +0000 Subject: [PATCH] fix: capitalize docstring and use touch instead of colon redirect Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com> Agent-Logs-Url: https://github.com/github/spec-kit/sessions/008835a0-7778-40bb-bdb2-4182b22be315 --- templates/commands/specify.md | 2 +- tests/test_branch_numbering.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/commands/specify.md b/templates/commands/specify.md index d0bbdfb9..36e0c1a2 100644 --- a/templates/commands/specify.md +++ b/templates/commands/specify.md @@ -86,7 +86,7 @@ Given that feature description, do this: - Ensure the directory and spec file exist: - Bash: - `mkdir -p "$FEATURE_DIR"` - - `: > "$SPEC_FILE"` + - `touch "$SPEC_FILE"` - PowerShell: - `New-Item -ItemType Directory -Path $env:FEATURE_DIR -Force | Out-Null` - `New-Item -ItemType File -Path $env:SPEC_FILE -Force | Out-Null` diff --git a/tests/test_branch_numbering.py b/tests/test_branch_numbering.py index d521d311..ed3004d1 100644 --- a/tests/test_branch_numbering.py +++ b/tests/test_branch_numbering.py @@ -93,7 +93,7 @@ class TestGitExtensionAutoInstall: """Tests for bundled git extension auto-install during specify init.""" def test_git_extension_installed_during_init(self, tmp_path: Path, monkeypatch): - """verify that `specify init` auto-installs the bundled git extension.""" + """Verify that `specify init` auto-installs the bundled git extension.""" from typer.testing import CliRunner from specify_cli import app