Skip to content

Commit cdd90c2

Browse files
committed
Add fixes on formatting
1 parent 05bbbdf commit cdd90c2

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

docs/guides/migration-0.16-to-0.19.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,3 @@ Add version check to your GitHub Actions:
167167
- 💬 **Questions?** [GitHub Discussions](https://github.com/nold-ai/specfact-cli/discussions)
168168
- 🐛 **Found a bug?** [GitHub Issues](https://github.com/nold-ai/specfact-cli/issues)
169169
- 📧 **Need help?** [hello@noldai.com](mailto:hello@noldai.com)
170-

tests/integration/commands/test_generate_command.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -390,9 +390,7 @@ def test_fix_prompt_lists_gaps_when_no_gap_id(self, tmp_path, monkeypatch):
390390
(reports_dir / "gaps.json").write_text(json.dumps(gap_report))
391391

392392
# Run fix-prompt without gap_id
393-
result = runner.invoke(
394-
app, ["generate", "fix-prompt", "--bundle", bundle_name, "--no-interactive"]
395-
)
393+
result = runner.invoke(app, ["generate", "fix-prompt", "--bundle", bundle_name, "--no-interactive"])
396394

397395
assert result.exit_code == 0
398396
assert "GAP-001" in result.stdout or "Available Gaps" in result.stdout
@@ -429,9 +427,7 @@ def test_fix_prompt_generates_prompt_for_gap(self, tmp_path, monkeypatch):
429427
(reports_dir / "gaps.json").write_text(json.dumps(gap_report))
430428

431429
# Run fix-prompt with gap_id
432-
result = runner.invoke(
433-
app, ["generate", "fix-prompt", "GAP-001", "--bundle", bundle_name, "--no-interactive"]
434-
)
430+
result = runner.invoke(app, ["generate", "fix-prompt", "GAP-001", "--bundle", bundle_name, "--no-interactive"])
435431

436432
assert result.exit_code == 0
437433
# Should create prompt file or show prompt content
@@ -451,9 +447,7 @@ def test_fix_prompt_fails_without_gap_report(self, tmp_path, monkeypatch):
451447
runner.invoke(app, ["plan", "init", bundle_name, "--no-interactive"])
452448

453449
# Run fix-prompt (should fail or show helpful message)
454-
result = runner.invoke(
455-
app, ["generate", "fix-prompt", "GAP-001", "--bundle", bundle_name, "--no-interactive"]
456-
)
450+
result = runner.invoke(app, ["generate", "fix-prompt", "GAP-001", "--bundle", bundle_name, "--no-interactive"])
457451

458452
# Should fail or provide helpful message
459453
assert result.exit_code != 0 or "no gaps" in result.stdout.lower() or "not found" in result.stdout.lower()
@@ -507,9 +501,7 @@ def test_test_prompt_lists_files_without_tests(self, tmp_path, monkeypatch):
507501
runner.invoke(app, ["plan", "init", bundle_name, "--no-interactive"])
508502

509503
# Run test-prompt without file argument
510-
result = runner.invoke(
511-
app, ["generate", "test-prompt", "--bundle", bundle_name, "--no-interactive"]
512-
)
504+
result = runner.invoke(app, ["generate", "test-prompt", "--bundle", bundle_name, "--no-interactive"])
513505

514506
# Should succeed and show help or list files
515507
assert result.exit_code == 0 or "file" in result.stdout.lower()

0 commit comments

Comments
 (0)