Skip to content

Commit a82ac92

Browse files
danbevrichardlau
authored andcommitted
rules: add quic subsystem
1 parent ad3ad72 commit a82ac92

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/rules/subsystem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ const validSubsystems = [
5252
, 'process'
5353
, 'punycode'
5454
, 'querystring'
55+
, 'quic'
5556
, 'readline'
5657
, 'repl'
5758
, 'report'

test/rules/subsystem.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,15 @@ test('rule: subsystem', (t) => {
7272
, email: '[email protected]'
7373
, date: '2016-04-12T19:42:23Z'
7474
}
75-
, message: 'worker: come on, fhqwhgads'
75+
, message: 'quic: come on, fhqwhgads'
7676
}, v)
7777

7878
context.report = (opts) => {
7979
tt.pass('called report')
8080
tt.strictSame(opts, {
8181
id: 'subsystem'
8282
, message: 'valid subsystems'
83-
, string: 'worker'
83+
, string: 'quic'
8484
, level: 'pass'
8585
})
8686
tt.end()

0 commit comments

Comments
 (0)