Commit aa4b028
test: improve test-fs-open-flags
* use arrow funcion instead of function expression
* add second argument to method assert.throws
* check error messages from beginning to the end using ^ and $
PR-URL: #10908
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Adrian Estrada <edsadr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 35d6659 commit aa4b028Copy full SHA for aa4b028
File tree
Expand file treeCollapse file tree
1 file changed
+11
-4
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+11
-4
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-open-flags.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-open-flags.js+11-4Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | | - |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
38 | 41 | |
39 | 42 | |
40 | 43 | |
41 | 44 | |
42 | | - |
| 45 | + |
43 | 46 | |
44 | 47 | |
45 | 48 | |
46 | 49 | |
47 | | - |
| 50 | + |
48 | 51 | |
49 | 52 | |
50 | 53 | |
51 | 54 | |
52 | | - |
| 55 | + |
53 | 56 | |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
0 commit comments