From 3744cfcc66fdb5d25c7cec992b3c458b0758307e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 2 Jun 2026 20:01:21 +0000 Subject: [PATCH] test(workflow): align max-turns string validation expectations Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/workflow/max_turns_test.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkg/workflow/max_turns_test.go b/pkg/workflow/max_turns_test.go index 421a00e505c..a5dcc71a467 100644 --- a/pkg/workflow/max_turns_test.go +++ b/pkg/workflow/max_turns_test.go @@ -196,7 +196,7 @@ engine: expectError: false, }, { - name: "valid string max-turns", + name: "invalid string max-turns", content: `--- on: workflow_dispatch: @@ -204,13 +204,12 @@ permissions: contents: read issues: read pull-requests: read -engine: - id: claude - max-turns: "5" +engine: claude +max-turns: "5" --- -# Valid String Max Turns`, - expectError: false, +# Invalid String Max Turns`, + expectError: true, }, { name: "zero max-turns",