Skip to content

Commit 5f857ff

Browse files
committed
test(runtime): the transient remedy is matched in either case
Claude-Session: https://claude.ai/code/session_016WV4cwPhGV4g9p1BGQaZbP Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0e4b8b2 commit 5f857ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/runtime/src/domains/packages-knowledge-source-gate.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ describe('/packages duplicate and /meta save on a real kernel running KnowledgeS
523523
expect(message.startsWith('Duplicating package "pkg-a" is refused, and nothing was copied. The knowledge source "faq" cannot be copied: '), message).toBe(true);
524524
expect(message).not.toMatch(/save the source|save it again|Nothing was written|was not saved|the save /);
525525
expect(message.match(/nothing was copied/gi)).toHaveLength(1);
526-
expect(message).toMatch(arm === 'title' ? /Have someone who may query it duplicate the package\.$/ : /duplicate the package again/);
526+
expect(message).toMatch(arm === 'title' ? /Have someone who may query it duplicate the package\.$/ : /duplicate the package again/i);
527527
expect(stack.protocol.duplicatePackage).not.toHaveBeenCalled();
528528
} finally {
529529
await stack.kernel.shutdown();

0 commit comments

Comments
 (0)