Skip to content

Commit 5c41caa

Browse files
Trottrvagg
authored andcommitted
test,doc: wrap common module md doc at 80 chars
In preparation for markdown linting of files in the `test` directory, make sure all lines in `test/common/README.md` are no more than 80 characters long. PR-URL: #22221 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: George Adams <george.adams@uk.ibm.com>
1 parent 21883be commit 5c41caa

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/common/README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ one listed below. (`heap.validateSnapshotNodes(...)` is a shortcut for
572572

573573
Create a heap dump and an embedder graph copy and validate occurrences.
574574

575-
<!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
575+
<!-- eslint-disable no-undef, node-core/required-modules -->
576576
```js
577577
validateSnapshotNodes('TLSWRAP', [
578578
{
@@ -590,7 +590,7 @@ validateSnapshotNodes('TLSWRAP', [
590590
The http2.js module provides a handful of utilities for creating mock HTTP/2
591591
frames for testing of HTTP/2 endpoints
592592

593-
<!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
593+
<!-- eslint-disable no-unused-vars, node-core/required-modules -->
594594
```js
595595
const http2 = require('../common/http2');
596596
```
@@ -600,7 +600,7 @@ const http2 = require('../common/http2');
600600
The `http2.Frame` is a base class that creates a `Buffer` containing a
601601
serialized HTTP/2 frame header.
602602

603-
<!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
603+
<!-- eslint-disable no-undef, node-core/required-modules -->
604604
```js
605605
// length is a 24-bit unsigned integer
606606
// type is an 8-bit unsigned integer identifying the frame type
@@ -619,7 +619,7 @@ The serialized `Buffer` may be retrieved using the `frame.data` property.
619619
The `http2.DataFrame` is a subclass of `http2.Frame` that serializes a `DATA`
620620
frame.
621621

622-
<!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
622+
<!-- eslint-disable no-undef, node-core/required-modules -->
623623
```js
624624
// id is the 32-bit stream identifier
625625
// payload is a Buffer containing the DATA payload
@@ -636,7 +636,7 @@ socket.write(frame.data);
636636
The `http2.HeadersFrame` is a subclass of `http2.Frame` that serializes a
637637
`HEADERS` frame.
638638

639-
<!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
639+
<!-- eslint-disable no-undef, node-core/required-modules -->
640640
```js
641641
// id is the 32-bit stream identifier
642642
// payload is a Buffer containing the HEADERS payload (see either
@@ -654,7 +654,7 @@ socket.write(frame.data);
654654
The `http2.SettingsFrame` is a subclass of `http2.Frame` that serializes an
655655
empty `SETTINGS` frame.
656656

657-
<!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
657+
<!-- eslint-disable no-undef, node-core/required-modules -->
658658
```js
659659
// ack is a boolean indicating whether or not to set the ACK flag.
660660
const frame = new http2.SettingsFrame(ack);
@@ -667,7 +667,7 @@ socket.write(frame.data);
667667
Set to a `Buffer` instance that contains a minimal set of serialized HTTP/2
668668
request headers to be used as the payload of a `http2.HeadersFrame`.
669669

670-
<!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
670+
<!-- eslint-disable no-undef, node-core/required-modules -->
671671
```js
672672
const frame = new http2.HeadersFrame(1, http2.kFakeRequestHeaders, 0, true);
673673

@@ -679,7 +679,7 @@ socket.write(frame.data);
679679
Set to a `Buffer` instance that contains a minimal set of serialized HTTP/2
680680
response headers to be used as the payload a `http2.HeadersFrame`.
681681

682-
<!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
682+
<!-- eslint-disable no-undef, node-core/required-modules -->
683683
```js
684684
const frame = new http2.HeadersFrame(1, http2.kFakeResponseHeaders, 0, true);
685685

@@ -691,7 +691,7 @@ socket.write(frame.data);
691691
Set to a `Buffer` containing the preamble bytes an HTTP/2 client must send
692692
upon initial establishment of a connection.
693693

694-
<!-- eslint-disable no-undef, no-unused-vars, node-core/required-modules, strict -->
694+
<!-- eslint-disable no-undef, node-core/required-modules -->
695695
```js
696696
socket.write(http2.kClientMagic);
697697
```

0 commit comments

Comments
 (0)