Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: split the runner-override assertion on CRLF so it passes on Windows CI (#4320)

[._.]/ Adam Eivyb95e1cd4c079
diff --git a/scripts/generate_ltx2.test.js b/scripts/generate_ltx2.test.js
index 802e455c88..2a58098b43 100644
--- a/scripts/generate_ltx2.test.js
+++ b/scripts/generate_ltx2.test.js
@@ -300,7 +300,9 @@ describe.skipIf(!pyBin)('generate_ltx2.py', () => {
// nothing here imports it from a path the fork could move.
'print(cls.__name__)',
].join('\n')}`);
- expect(output.trim().split('\n')).toEqual([
+ // Split on \r?\n: Python's print writes CRLF on Windows, and a trailing \r
+ // on the first line would fail an equality that passes everywhere else.
+ expect(output.trim().split(/\r?\n/)).toEqual([
join('/shims', 'ltx25-heretic-8bit'),
'Gemma4LanguageModel',
]);