Skip to content

Commit e67f0c5

Browse files
author
Sawyer Cutler
committed
Run prettier on read-file-guard-plugin.test.ts
1 parent 22b834a commit e67f0c5

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/plugins/read-file-guard-plugin.test.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,10 @@ describe("readFileGuardPlugin", () => {
346346
expect(match).not.toBeNull();
347347
const cursorPath = (match as RegExpExecArray)[1] as string;
348348

349-
await middleware({ id: "s2", name: "read_file", arguments: { path: cursorPath } }, neverAbort());
349+
await middleware(
350+
{ id: "s2", name: "read_file", arguments: { path: cursorPath } },
351+
neverAbort(),
352+
);
350353
// Second use of the same, already-consumed cursor: distinct from a
351354
// generic missing-blob error, this must name a followable next step —
352355
// the original source and the offset to resume from — rather than
@@ -397,7 +400,10 @@ describe("readFileGuardPlugin", () => {
397400
expect(match).not.toBeNull();
398401
const cursorPath = (match as RegExpExecArray)[1] as string;
399402

400-
await middleware({ id: "b2", name: "read_file", arguments: { path: cursorPath } }, neverAbort());
403+
await middleware(
404+
{ id: "b2", name: "read_file", arguments: { path: cursorPath } },
405+
neverAbort(),
406+
);
401407
// Replaying the consumed cursor must not fall through to blobReader.read()
402408
// (which would throw the opaque "Blob not found" error naming only the
403409
// random cursor UUID) -- it must short-circuit to the actionable message

0 commit comments

Comments
 (0)