Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

test: make Bengali syntax check byte exact

haelyra85b4e4eea3f6
diff --git a/tests/ci/bengali-language-surface.test.js b/tests/ci/bengali-language-surface.test.js
index b98b5a32a..cb88d3153 100644
--- a/tests/ci/bengali-language-surface.test.js
+++ b/tests/ci/bengali-language-surface.test.js
@@ -125,10 +125,15 @@ function run() {
}
snippets.forEach(snippet => {
+ const encoded = Buffer.from(snippet.code, 'utf8').toString('base64');
const result = spawnSync(
python.command,
- [...python.prefix, '-c', "import sys; compile(sys.stdin.read(), '<bengali-nlp>', 'exec')"],
- { input: snippet.code, encoding: 'utf8' },
+ [
+ ...python.prefix,
+ '-c',
+ "import base64, sys; compile(base64.b64decode(sys.stdin.buffer.read()).decode('utf-8'), '<bengali-nlp>', 'exec')",
+ ],
+ { input: encoded, encoding: 'utf8' },
);
assert.strictEqual(
result.status,