Skip to content

Commit 1f36f62

Browse files
committed
test(read): expect quoted call-path in extractor_ready diagnosis
1 parent e6b7bff commit 1f36f62

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -870,8 +870,7 @@ describe("readFileGuardPlugin", () => {
870870
neverAbort(),
871871
);
872872
expect(result.isError).toBe(true);
873-
const abs = join(dir, "my report.pdf");
874-
expect(String(result.content)).toContain(`pdftotext '${abs}' -`);
873+
expect(String(result.content)).toContain(`pdftotext 'my report.pdf' -`);
875874
});
876875
});
877876

0 commit comments

Comments
 (0)