Commit a42d072
assert: use object argument in innerFail
Right now it is difficult to know what argument stands for what
property. By refactoring the arguments into a object it is clear
what stands for what.
Backport-PR-URL: #23223
PR-URL: #17582
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>1 parent 84948cf commit a42d072Copy full SHA for a42d072
File tree
Expand file treeCollapse file tree
4 files changed
+109
-30
lines changedOpen diff view settings
Filter options
- lib
- internal
- test
- message
- parallel
Expand file treeCollapse file tree
4 files changed
+109
-30
lines changedOpen diff view settings
Collapse file
+97-27Lines changed: 97 additions & 27 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
47 | | - |
48 | | - |
| 41 | + |
| 42 | + |
49 | 43 | |
50 | 44 | |
51 | | - |
52 | | - |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
53 | 49 | |
54 | | - |
| 50 | + |
55 | 51 | |
56 | | - |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
57 | 61 | |
58 | 62 | |
59 | 63 | |
| ||
67 | 71 | |
68 | 72 | |
69 | 73 | |
70 | | - |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
71 | 83 | |
72 | 84 | |
73 | 85 | |
74 | 86 | |
75 | 87 | |
76 | 88 | |
77 | 89 | |
78 | | - |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
79 | 99 | |
80 | 100 | |
81 | 101 | |
82 | 102 | |
83 | 103 | |
84 | 104 | |
85 | 105 | |
86 | | - |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
87 | 113 | |
88 | 114 | |
89 | 115 | |
90 | 116 | |
91 | 117 | |
92 | 118 | |
93 | | - |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
94 | 126 | |
95 | 127 | |
96 | 128 | |
97 | 129 | |
98 | 130 | |
99 | 131 | |
100 | | - |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
101 | 139 | |
102 | 140 | |
103 | 141 | |
| ||
572 | 610 | |
573 | 611 | |
574 | 612 | |
575 | | - |
| 613 | + |
| 614 | + |
| 615 | + |
| 616 | + |
| 617 | + |
| 618 | + |
| 619 | + |
576 | 620 | |
577 | 621 | |
578 | 622 | |
579 | 623 | |
580 | 624 | |
581 | 625 | |
582 | | - |
583 | | - |
| 626 | + |
| 627 | + |
| 628 | + |
| 629 | + |
| 630 | + |
| 631 | + |
| 632 | + |
584 | 633 | |
585 | 634 | |
586 | 635 | |
587 | 636 | |
588 | 637 | |
589 | 638 | |
590 | | - |
| 639 | + |
| 640 | + |
| 641 | + |
| 642 | + |
| 643 | + |
| 644 | + |
| 645 | + |
591 | 646 | |
592 | 647 | |
593 | 648 | |
594 | 649 | |
595 | 650 | |
596 | 651 | |
597 | 652 | |
598 | | - |
| 653 | + |
| 654 | + |
| 655 | + |
| 656 | + |
| 657 | + |
| 658 | + |
| 659 | + |
599 | 660 | |
600 | 661 | |
601 | 662 | |
| ||
643 | 704 | |
644 | 705 | |
645 | 706 | |
646 | | - |
| 707 | + |
| 708 | + |
| 709 | + |
| 710 | + |
| 711 | + |
| 712 | + |
| 713 | + |
647 | 714 | |
648 | 715 | |
649 | 716 | |
650 | 717 | |
651 | 718 | |
652 | 719 | |
653 | 720 | |
654 | | - |
655 | | - |
656 | | - |
657 | | - |
| 721 | + |
| 722 | + |
| 723 | + |
| 724 | + |
| 725 | + |
| 726 | + |
| 727 | + |
658 | 728 | |
659 | 729 | |
660 | 730 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
80 | 80 | |
81 | 81 | |
82 | 82 | |
83 | | - |
| 83 | + |
84 | 84 | |
85 | 85 | |
86 | 86 | |
| ||
99 | 99 | |
100 | 100 | |
101 | 101 | |
102 | | - |
| 102 | + |
103 | 103 | |
104 | 104 | |
105 | 105 | |
|
Collapse file
test/message/error_exit.out
Copy file name to clipboardExpand all lines: test/message/error_exit.out+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
|
Collapse file
test/parallel/test-assert.js
Copy file name to clipboardExpand all lines: test/parallel/test-assert.js+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
721 | 721 | |
722 | 722 | |
723 | 723 | |
| 724 | + |
| 725 | + |
| 726 | + |
| 727 | + |
| 728 | + |
| 729 | + |
| 730 | + |
| 731 | + |
| 732 | + |
0 commit comments