diff options
| author | CL Kao <clkao@datarecce.io> | 2026-01-29 14:34:38 -0800 |
|---|---|---|
| committer | CL Kao <clkao@datarecce.io> | 2026-01-29 14:34:38 -0800 |
| commit | 1872f50b6416dd964f36014435ea121c54a4cc35 (patch) | |
| tree | eb1806a3732af8b3586a0e9d85d7d74e24f78eba /tests/claude-code | |
| parent | 469a6d81ebb8b827e284d4afb090c6c622d97747 (diff) | |
fix(tests): handle case variations in skill recognition test
The assertion now matches "subagent-driven-development", "Subagent-Driven
Development", and "Subagent Driven" since Claude's responses may use
different casing and formatting styles.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/claude-code')
| -rwxr-xr-x | tests/claude-code/test-subagent-driven-development.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/claude-code/test-subagent-driven-development.sh b/tests/claude-code/test-subagent-driven-development.sh index 8edea06..95941ed 100755 --- a/tests/claude-code/test-subagent-driven-development.sh +++ b/tests/claude-code/test-subagent-driven-development.sh @@ -14,7 +14,7 @@ echo "Test 1: Skill loading..." output=$(run_claude "What is the subagent-driven-development skill? Describe its key steps briefly." 30) -if assert_contains "$output" "subagent-driven-development" "Skill is recognized"; then +if assert_contains "$output" "subagent-driven-development\|Subagent-Driven Development\|Subagent Driven" "Skill is recognized"; then : # pass else exit 1 |
