Pārlūkot izejas kodu

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>
CL Kao 8 mēneši atpakaļ
vecāks
revīzija
1872f50b64

+ 1 - 1
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)
 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
     : # pass
 else
 else
     exit 1
     exit 1