From cddc520ec9f40b8d5b97d1272a443c68a0e324ba Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Sun, 26 Jul 2026 23:51:46 -0700 Subject: [PATCH] test: stop pinning a plugin name in the CRLF guard The CRLF case rewrites every launch file, so the reported mismatch is whichever plugin sorts first. P2 adds theme plugins that sort ahead of orca-navigation-shortcuts, which broke the assertion there. Co-authored-by: Orca --- config/scripts/verify-packaged-plugin-resources.test.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/scripts/verify-packaged-plugin-resources.test.mjs b/config/scripts/verify-packaged-plugin-resources.test.mjs index 77927a050f0..79dda1f4866 100644 --- a/config/scripts/verify-packaged-plugin-resources.test.mjs +++ b/config/scripts/verify-packaged-plugin-resources.test.mjs @@ -65,8 +65,10 @@ describe('verify packaged plugin resources', () => { await writeFile(path, (await readFile(path, 'utf8')).replace(/\r?\n/g, '\r\n')) } + // Every file is rewritten, so the first mismatch is whichever plugin sorts + // first — don't pin a name a later branch can reorder. expect(() => verifyPackagedPluginResources(resourcesDir)).toThrow( - 'packaged bytes do not match stablyai.orca-navigation-shortcuts' + /packaged bytes do not match stablyai\./ ) } finally { await rm(resourcesDir, { recursive: true, force: true })