Commit cf5579d
test: improve zlib-from-gzip-with-trailing-garbage
* use assert.strictEqual instead of assert.equal
* add RegExp in second argument of assert.throws
* validate error message and code
PR-URL: #10674
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 2d85609 commit cf5579dCopy full SHA for cf5579d
File tree
Expand file treeCollapse file tree
1 file changed
+22
-6
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+22
-6
lines changedOpen diff view settings
Collapse file
test/parallel/test-zlib-from-gzip-with-trailing-garbage.js
Copy file name to clipboardExpand all lines: test/parallel/test-zlib-from-gzip-with-trailing-garbage.js+22-6Lines changed: 22 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
15 | | - |
| 15 | + |
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
20 | 24 | |
21 | 25 | |
22 | 26 | |
| ||
28 | 32 | |
29 | 33 | |
30 | 34 | |
31 | | - |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
32 | 39 | |
33 | 40 | |
34 | | - |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
35 | 45 | |
36 | 46 | |
37 | 47 | |
| ||
42 | 52 | |
43 | 53 | |
44 | 54 | |
45 | | - |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
46 | 59 | |
47 | 60 | |
48 | | - |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
49 | 65 | |
0 commit comments