Commit 4d782c4
test: improve assert error messages
Improve the assert error message so it includes actual value in
the error message.
PR-URL: #21160
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 65b9c42 commit 4d782c4Copy full SHA for 4d782c4
File tree
Expand file treeCollapse file tree
1 file changed
+14
-6
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+14
-6
lines changedOpen diff view settings
Collapse file
test/parallel/test-stream-pipe-await-drain.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-pipe-await-drain.js+14-6Lines changed: 14 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
27 | | - |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
28 | 32 | |
29 | 33 | |
30 | 34 | |
| ||
35 | 39 | |
36 | 40 | |
37 | 41 | |
38 | | - |
39 | | - |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
40 | 46 | |
41 | 47 | |
42 | 48 | |
| ||
45 | 51 | |
46 | 52 | |
47 | 53 | |
48 | | - |
49 | | - |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
50 | 58 | |
51 | 59 | |
52 | 60 | |
|
0 commit comments