Commit d949ead
test: check custom inspection truncation in assert
The assert module has some truncation logic in a custom inspect
function. This was not covered in tests. Add tests to cover it.
PR-URL: #28234
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>1 parent 990feaf commit d949eadCopy full SHA for d949ead
File tree
Expand file treeCollapse file tree
1 file changed
+25
-4
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+25
-4
lines changedOpen diff view settings
Collapse file
test/parallel/test-assert.js
Copy file name to clipboardExpand all lines: test/parallel/test-assert.js+25-4Lines changed: 25 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
412 | 412 | |
413 | 413 | |
414 | 414 | |
415 | | - |
416 | | - |
417 | | - |
418 | | - |
| 415 | + |
| 416 | + |
| 417 | + |
| 418 | + |
| 419 | + |
| 420 | + |
| 421 | + |
| 422 | + |
419 | 423 | |
420 | 424 | |
| 425 | + |
| 426 | + |
| 427 | + |
| 428 | + |
| 429 | + |
| 430 | + |
| 431 | + |
| 432 | + |
| 433 | + |
| 434 | + |
| 435 | + |
| 436 | + |
| 437 | + |
| 438 | + |
| 439 | + |
| 440 | + |
| 441 | + |
421 | 442 | |
422 | 443 | |
423 | 444 | |
|
0 commit comments