test(cli): remove duplicate malformed JSON assertion

This commit is contained in:
morluto committed 2026-10-10 03:53:12 +08:00
1 parent 79d5b9a826
commit 5d32e42529
1 file changed
-6
@@ -160,12 +160,6 @@ describe("CLI JSON input", () => {
}, 20_000);
it("distinguishes malformed inline text from files and preserves bracket-prefixed paths", async () => {
expect(await parseCliJsonInput("[", "test-input")).toMatchObject({
ok: false,
error: {
details: { issues: [{ reason: "invalid_format", expected: "JSON" }] },
},
});
expect(await parseCliJsonInput("[", "test-input")).toMatchObject({
ok: false,
error: {