Skip to content

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

test(module-pins): fix escaped whitespace in version regex

Steven Enamakel469b72ddbc50
diff --git a/scripts/__tests__/module-pins.test.mjs b/scripts/__tests__/module-pins.test.mjs
index 397ad1a39c..d270358478 100644
--- a/scripts/__tests__/module-pins.test.mjs
+++ b/scripts/__tests__/module-pins.test.mjs
@@ -117,7 +117,7 @@ test("voice source release matches the artifact used for recording summaries", (
join(REPO_ROOT, "vendor/tinyvoice/crates/tinyvoice-module/Cargo.toml"),
"utf8",
);
- const version = source.match(/^version\\s*=\\s*"([^"]+)"/m)?.[1];
+ const version = source.match(/^version\s*=\s*"([^"]+)"/m)?.[1];
assert.ok(version, "voice module source must declare its release version");
assert.equal(
version,