You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -46,7 +46,7 @@ Let's analyze this basic test from the Node.js test suite:
46
46
21 });
47
47
```
48
48
49
-
**Lines 1-2**
49
+
### **Lines 1-2**
50
50
51
51
```javascript
52
52
'use strict';
@@ -70,7 +70,7 @@ assigning it to an identifier:
70
70
require('../common');
71
71
```
72
72
73
-
**Lines 4-5**
73
+
### **Lines 4-5**
74
74
75
75
```javascript
76
76
// This test ensures that the http-parser can handle UTF-8 characters
@@ -80,11 +80,11 @@ require('../common');
80
80
A test should start with a comment containing a brief description of what it is
81
81
designed to test.
82
82
83
-
**Lines 7-8**
83
+
### **Lines 7-8**
84
84
85
85
```javascript
86
-
consthttp=require('http');
87
86
constassert=require('assert');
87
+
consthttp=require('http');
88
88
```
89
89
90
90
The test checks functionality in the `http` module.
@@ -95,7 +95,7 @@ The require statements are sorted in
95
95
[ASCII](http://man7.org/linux/man-pages/man7/ascii.7.html) order (digits, upper
96
96
case, `_`, lower case).
97
97
98
-
**Lines 10-21**
98
+
### **Lines 10-21**
99
99
100
100
This is the body of the test. This test is simple, it just tests that an
101
101
HTTP server accepts `non-ASCII` characters in the headers of an incoming
0 commit comments