Skip to content

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

test(private-runner): reformat llvm preflight contract assertions

Steven Enamakelddf9b9d63b67
diff --git a/scripts/__tests__/private-runner-contract.test.mjs b/scripts/__tests__/private-runner-contract.test.mjs
index 560c147b3b..4ece313a37 100644
--- a/scripts/__tests__/private-runner-contract.test.mjs
+++ b/scripts/__tests__/private-runner-contract.test.mjs
@@ -192,8 +192,13 @@ test("private validation and cache save have measured budgets without suppressin
test("private LLVM preflight rejects missing tools before publishing environment", () => {
const source = readFileSync(helper, "utf8");
- const definition = source.match(/^verify_llvm_tools\(\) \{\n[\s\S]*?^\}/m)?.[0];
- assert.ok(definition, "LLVM preflight must validate the pinned toolchain tools");
+ const definition = source.match(
+ /^verify_llvm_tools\(\) \{\n[\s\S]*?^\}/m,
+ )?.[0];
+ assert.ok(
+ definition,
+ "LLVM preflight must validate the pinned toolchain tools",
+ );
const dir = mkdtempSync(join(tmpdir(), "guest LLVM tools "));
try {
const libdir = join(dir, "pinned toolchain", "lib");
@@ -231,7 +236,10 @@ printf "%s\\n" "$FIXTURE_LIBDIR"
writeFileSync(log, "");
const result = spawnSync(
"bash",
- ["-c", `set -euo pipefail\n${definition}\nverify_llvm_tools pinned-fixture`],
+ [
+ "-c",
+ `set -euo pipefail\n${definition}\nverify_llvm_tools pinned-fixture`,
+ ],
{
encoding: "utf8",
env: {