Skip to content

Commit d5a1124

Browse files
test: update pact-task-tracking test for v3 section rename
The v3 rewrite replaced '## On Start' with '## Task Self-Management' but the test wasn't updated alongside the change, causing a persistent test failure.
1 parent b11da14 commit d5a1124

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pact-plugin/skills/pact-task-tracking/test_skill_loading.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ def test_name_matches_directory(self, frontmatter):
7070
class TestKeyContentSections:
7171
"""Test that the skill content includes required sections."""
7272

73-
def test_has_on_start_section(self, skill_content):
74-
"""Skill must include 'On Start' section."""
75-
assert "## On Start" in skill_content, "SKILL.md must include '## On Start' section"
73+
def test_has_task_self_management_section(self, skill_content):
74+
"""Skill must include 'Task Self-Management' section (v3 replacement for On Start)."""
75+
assert "## Task Self-Management" in skill_content, "SKILL.md must include '## Task Self-Management' section"
7676

7777
def test_has_on_blocker_section(self, skill_content):
7878
"""Skill must include 'On Blocker' section."""

0 commit comments

Comments
 (0)