Commit 6d8a541
doc: update assert.throws() examples
This updates two outdated examples to the current implementation.
Backport-PR-URL: #31431
PR-URL: #28263
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 881ebce commit 6d8a541Copy full SHA for 6d8a541
File tree
Expand file treeCollapse file tree
1 file changed
+9
-6
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+9
-6
lines changedOpen diff view settings
Collapse file
+9-6Lines changed: 9 additions & 6 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1192 | 1192 | |
1193 | 1193 | |
1194 | 1194 | |
1195 | | - |
| 1195 | + |
| 1196 | + |
| 1197 | + |
| 1198 | + |
1196 | 1199 | |
1197 | 1200 | |
1198 | | - |
| 1201 | + |
| 1202 | + |
| 1203 | + |
1199 | 1204 | |
1200 | 1205 | |
1201 | 1206 | |
| ||
1282 | 1287 | |
1283 | 1288 | |
1284 | 1289 | |
1285 | | - |
1286 | | - |
| 1290 | + |
1287 | 1291 | |
1288 | | - |
1289 | | - |
| 1292 | + |
1290 | 1293 | |
1291 | 1294 | |
1292 | 1295 | |
|
0 commit comments