Commit e5558b0
assert,util: fix deep comparing invalid dates skipping properties
The property comparison of invalid dates regressed when starting
to handle invalid dates as being equal.
PR-URL: #61076
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 8b6be3f commit e5558b0Copy full SHA for e5558b0
2 files changed
+19Lines changed: 19 additions & 0 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- lib/internal/util
- test/parallel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
lib/internal/util/comparisons.js
Copy file name to clipboardExpand all lines: lib/internal/util/comparisons.js+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
302 | 302 | |
303 | 303 | |
304 | 304 | |
| 305 | + |
| 306 | + |
| 307 | + |
| 308 | + |
| 309 | + |
| 310 | + |
305 | 311 | |
306 | 312 | |
307 | 313 | |
|
Collapse file
test/parallel/test-assert-deep.js
Copy file name to clipboardExpand all lines: test/parallel/test-assert-deep.js+13Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
779 | 779 | |
780 | 780 | |
781 | 781 | |
| 782 | + |
| 783 | + |
| 784 | + |
| 785 | + |
| 786 | + |
| 787 | + |
| 788 | + |
| 789 | + |
| 790 | + |
| 791 | + |
| 792 | + |
| 793 | + |
| 794 | + |
782 | 795 | |
783 | 796 | |
784 | 797 | |
|
0 commit comments