Commit 9e432ca
test: add promise API test for appendFile()
Apply the first of five test cases in test-fs-append-file to the
promise-based API in addition to the callback-based API.
PR-URL: #20739
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 740bf78 commit 9e432caCopy full SHA for 9e432ca
File tree
Expand file treeCollapse file tree
1 file changed
+25
-13
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+25
-13
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-append-file.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-append-file.js+25-13Lines changed: 25 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
31 | | - |
32 | 30 | |
33 | 31 | |
34 | 32 | |
| ||
44 | 42 | |
45 | 43 | |
46 | 44 | |
47 | | - |
48 | | - |
49 | | - |
| 45 | + |
50 | 46 | |
51 | | - |
| 47 | + |
| 48 | + |
| 49 | + |
52 | 50 | |
53 | | - |
| 51 | + |
54 | 52 | |
55 | | - |
56 | | - |
57 | | - |
58 | | - |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
59 | 72 | |
60 | 73 | |
61 | 74 | |
| ||
151 | 164 | |
152 | 165 | |
153 | 166 | |
154 | | - |
| 167 | + |
155 | 168 | |
156 | | - |
157 | 169 | |
158 | 170 | |
159 | 171 | |
|
0 commit comments