Selaa lähdekoodia

test: avoid Windows metadata-version collision

creatixchu 3 viikkoa sitten
vanhempi
sitoutus
a8a028e26f

+ 2 - 2
packages/context/agent-instructions/tests/agent-instructions.spec.ts

@@ -3267,7 +3267,7 @@ describe('dynamic nested workspace context injection', () => {
     try {
       await mkdir(join(root, '.git'), { recursive: true })
       await write(join(root, 'pkg/AGENTS.md'), 'canonical nested rule')
-      await write(join(root, 'pkg/CLAUDE.md'), 'divergent nested rule')
+      await write(join(root, 'pkg/CLAUDE.md'), 'distinct nested instruction')
       await write(join(root, 'pkg/file.txt'), 'hello')
       const ctx = new Context()
       await mountFileToolsAndWorkspaceContext(ctx, { dshHome: home, maxBytes: 65536 })
@@ -3279,7 +3279,7 @@ describe('dynamic nested workspace context injection', () => {
       })
       const firstText = blocksText(((await syncedWorkspaceContext(ctx, agent))).content)
       expect(firstText).toContain('canonical nested rule')
-      expect(firstText).toContain('divergent nested rule')
+      expect(firstText).toContain('distinct nested instruction')
       await appendAdditionalContexts(ctx, agent)
       await write(join(root, 'pkg/CLAUDE.md'), 'canonical nested rule')
       await ctx.tools.execute({