Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(externalize-inline-tests): correct expected line count in brace test

Steven Enamakelef3d1796c2d7
diff --git a/scripts/__tests__/externalize-inline-tests.test.mjs b/scripts/__tests__/externalize-inline-tests.test.mjs
index c5dbebfb31..798ab0d985 100644
--- a/scripts/__tests__/externalize-inline-tests.test.mjs
+++ b/scripts/__tests__/externalize-inline-tests.test.mjs
@@ -30,7 +30,7 @@ test("braces in strings, raw strings, chars and comments do not end the block",
"",
].join("\n");
const out = externalizeSource(src, "lib");
- assert.equal(out.moves[0].body.trimEnd().split("\n").length, 7);
+ assert.equal(out.moves[0].body.trimEnd().split("\n").length, 6);
assert.equal(out.source, `${DECL}fn after() {}\n`);
});