From 4b260eb51623b6000a61faa252776a8e359a46ff Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Mon, 4 May 2026 15:31:23 +0700 Subject: [PATCH] fix(cli): update schedule provider/mode error message substring in test The error message gained a `--mode` mention when the schedule mode flag landed; the existing CLI integration test still asserted on the old exact-prefix substring and broke main CI for all PR builds. --- packages/cli/tests/31-loop-schedule.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/tests/31-loop-schedule.test.ts b/packages/cli/tests/31-loop-schedule.test.ts index 6f41d3efb..75504c53f 100644 --- a/packages/cli/tests/31-loop-schedule.test.ts +++ b/packages/cli/tests/31-loop-schedule.test.ts @@ -118,7 +118,7 @@ try { assert.notStrictEqual(result.exitCode, 0, "should fail for self target with provider"); const output = result.stdout + result.stderr; assert( - output.includes("--provider can only be used with a new-agent target"), + output.includes("can only be used with a new-agent target"), "should explain provider target mismatch", ); console.log("schedule rejects provider with self target\n");