Skip to content

Commit da30b23

Browse files
cliffhallclaude
andcommitted
test(filesystem): cite the newly filed issues in KNOWN BUG markers
The bugs these tests pin had no issue when the markers were added, so the markers read "KNOWN BUG (no issue)". They are now filed under the Wave 2 tracker #5004, so each marker cites its issue number. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent 802c225 commit da30b23

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎src/filesystem/__tests__/server-roots.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ describe("a client without the roots capability", () => {
247247
);
248248
});
249249

250-
// KNOWN BUG (no issue): with no directories and no Roots, the initialization error the README promises is swallowed and the session stays up with nothing allowed; the fix changes this assertion.
250+
// KNOWN BUG #4992: with no directories and no Roots, the initialization error the README promises is swallowed and the session stays up with nothing allowed; the fix changes this assertion.
251251
// With no directories from either source, oninitialized throws. The SDK
252252
// routes a notification handler's rejection to the server's onerror, which
253253
// the server leaves unset, so the error is invisible to the client: the

‎src/filesystem/__tests__/server-tools.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ describe("edit_file", () => {
691691
expect(text.endsWith("`````\n\n")).toBe(true);
692692
});
693693

694-
// KNOWN BUG (no issue): any edit silently converts a CRLF file's line endings to LF; the fix changes this assertion.
694+
// KNOWN BUG #4991: any edit silently converts a CRLF file's line endings to LF; the fix changes this assertion.
695695
// The CRLF in the file is normalized away by any edit, dry run aside.
696696
it("rewrites a CRLF file with LF line endings", async () => {
697697
await fs.writeFile(file, "a\r\nb\r\n");
@@ -706,7 +706,7 @@ describe("edit_file", () => {
706706
// with leading and trailing whitespace trimmed, and reindents the
707707
// replacement. These pin its current reindentation rules.
708708
describe("whitespace-tolerant matcher (#2034)", () => {
709-
// KNOWN BUG (no issue): lines after the first lose the file's indentation when oldText's line has none; the fix changes this assertion.
709+
// KNOWN BUG #4990: lines after the first lose the file's indentation when oldText's line has none; the fix changes this assertion.
710710
it("matches lines whose indentation differs from oldText", async () => {
711711
await call(client, "edit_file", {
712712
path: file,
@@ -724,7 +724,7 @@ describe("edit_file", () => {
724724
);
725725
});
726726

727-
// KNOWN BUG (no issue): a replacement line whose oldText line has no indent ignores the file's indentation; the fix changes this assertion.
727+
// KNOWN BUG #4990: a replacement line whose oldText line has no indent ignores the file's indentation; the fix changes this assertion.
728728
it("keeps relative indentation when both old and new lines are indented", async () => {
729729
await fs.writeFile(file, " if (a) {\n b();\n }\n");
730730
await call(client, "edit_file", {

0 commit comments

Comments
 (0)