The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(process-statics): cover raw and unicode identifiers
Steven Enamakel8debc7199198
diff --git a/scripts/__tests__/process-statics.test.mjs b/scripts/__tests__/process-statics.test.mjsindex e89a20d8e9..e190c74eeb 100644--- a/scripts/__tests__/process-statics.test.mjs+++ b/scripts/__tests__/process-statics.test.mjs@@ -107,6 +107,11 @@ test("lifetimes and associated types are not declarations", () => {[],);});+test("raw and Unicode identifiers cannot bypass ownership review", () => {+ const current = scan("static r#type: Alias = x; static 缓存: Alias = x;");+ assert.deepEqual(current.map(({ name }) => name), ["r#type", "缓存"]);+ assert.equal(reviewChanges([], current, []).length, 2);+});test("const generic equality and function arrows do not terminate a type", () => {assert.equal(scan("static X: Wrapper<{1 == 1}, fn() -> usize> = x;")[0].type,