Skip to content

Commit c3da0ff

Browse files
danielpaulusclaude
andcommitted
style(cli): comma member-delimiter in ssl-monitor test type literals
Fixes the lint job (@stylistic/member-delimiter-style): single-line type literals use a comma, not a semicolon. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013AYwkvoaANQTH5dGStbBj2
1 parent 1c28214 commit c3da0ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cli/src/constructs/__tests__/ssl-monitor.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ describe('SslMonitor', () => {
355355
it('should error on removed SSL-only operators against the new grammar', async () => {
356356
// The regex (MATCHES) and >= (GREATER_THAN_OR_EQUAL) operators were dropped for SSL;
357357
// they must be rejected on every source that could plausibly carry them.
358-
const cases: Array<{ assertion: SslRequest['assertions'][number]; message: string }> = [
358+
const cases: Array<{ assertion: SslRequest['assertions'][number], message: string }> = [
359359
{
360360
assertion: { source: 'CERTIFICATE', property: 'signatureAlgorithm', comparison: 'MATCHES', target: 'x', regex: null },
361361
message: 'The CERTIFICATE "signatureAlgorithm" assertion at "request.assertions[0]" has an unsupported comparison "MATCHES".',
@@ -379,7 +379,7 @@ describe('SslMonitor', () => {
379379
})
380380

381381
it('should enforce the per-property comparison whitelist', async () => {
382-
const cases: Array<{ assertion: SslRequest['assertions'][number]; message: string }> = [
382+
const cases: Array<{ assertion: SslRequest['assertions'][number], message: string }> = [
383383
{
384384
// sans is STRING_LIST — only CONTAINS / NOT_CONTAINS, so EQUALS is rejected.
385385
assertion: { source: 'CERTIFICATE', property: 'sans', comparison: 'EQUALS', target: 'example.com', regex: null },

0 commit comments

Comments
 (0)