Skip to content

Commit c650024

Browse files
committed
fix(cli): write the ESC byte as its escape text in the dev-TLS pin test
`check:nul-bytes` caught a raw 0x1b that a scripted edit materialised out of the escape sequence while the test was asserting ABOUT that byte — the exact slip the gate's header says every occurrence in this repo came from. Claude-Session: https://claude.ai/code/session_01TSf4DV7ziu4V5j73e46b7c Co-authored-by: Claude <noreply@anthropic.com>
1 parent dca1ad4 commit c650024

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/cli/src/utils/dev-tls-contract.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ describe('formatIncompleteDevTlsPairNotice — both halves, and the way out', ()
206206
it('carries no raw control bytes — colouring happens at the call site', () => {
207207
for (const given of [DEV_TLS_CERT_FLAG, DEV_TLS_KEY_FLAG] as const) {
208208
// eslint-disable-next-line no-control-regex
209-
expect(formatIncompleteDevTlsPairNotice(given)).not.toMatch(/\[/);
209+
expect(formatIncompleteDevTlsPairNotice(given)).not.toMatch(/\u001b\[/);
210210
}
211211
});
212212
});

0 commit comments

Comments
 (0)