Commit 7b4d288
assert: make partialDeepStrictEqual throw when comparing [0] with [-0]
Fixes: #56230
PR-URL: #56237
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Xuguang Mei <meixuguang@gmail.com>
Reviewed-By: Jordan Harband <ljharb@gmail.com>1 parent 20ace0b commit 7b4d288Copy full SHA for 7b4d288
File tree
Expand file treeCollapse file tree
2 files changed
+100
-19
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
2 files changed
+100
-19
lines changedOpen diff view settings
Collapse file
+50-19Lines changed: 50 additions & 19 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
| 59 | + |
59 | 60 | |
60 | 61 | |
61 | 62 | |
| ||
497 | 498 | |
498 | 499 | |
499 | 500 | |
| 501 | + |
| 502 | + |
| 503 | + |
| 504 | + |
| 505 | + |
| 506 | + |
| 507 | + |
| 508 | + |
| 509 | + |
| 510 | + |
| 511 | + |
500 | 512 | |
501 | 513 | |
502 | 514 | |
| ||
506 | 518 | |
507 | 519 | |
508 | 520 | |
509 | | - |
510 | | - |
511 | | - |
512 | | - |
513 | | - |
514 | | - |
515 | | - |
| 521 | + |
| 522 | + |
| 523 | + |
| 524 | + |
| 525 | + |
| 526 | + |
| 527 | + |
| 528 | + |
| 529 | + |
| 530 | + |
| 531 | + |
| 532 | + |
| 533 | + |
| 534 | + |
| 535 | + |
| 536 | + |
| 537 | + |
| 538 | + |
516 | 539 | |
517 | | - |
518 | | - |
519 | | - |
520 | 540 | |
521 | 541 | |
522 | 542 | |
523 | 543 | |
524 | 544 | |
525 | | - |
526 | 545 | |
527 | | - |
528 | | - |
| 546 | + |
| 547 | + |
| 548 | + |
| 549 | + |
| 550 | + |
| 551 | + |
529 | 552 | |
530 | | - |
| 553 | + |
531 | 554 | |
532 | | - |
| 555 | + |
| 556 | + |
| 557 | + |
| 558 | + |
| 559 | + |
| 560 | + |
| 561 | + |
| 562 | + |
| 563 | + |
| 564 | + |
| 565 | + |
| 566 | + |
533 | 567 | |
534 | | - |
535 | 568 | |
536 | 569 | |
537 | 570 | |
538 | 571 | |
539 | | - |
540 | | - |
541 | | - |
| 572 | + |
542 | 573 | |
543 | 574 | |
544 | 575 | |
|
Collapse file
test/parallel/test-assert-objects.js
Copy file name to clipboardExpand all lines: test/parallel/test-assert-objects.js+50Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
97 | 97 | |
98 | 98 | |
99 | 99 | |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
100 | 135 | |
101 | 136 | |
102 | 137 | |
| ||
385 | 420 | |
386 | 421 | |
387 | 422 | |
| 423 | + |
| 424 | + |
| 425 | + |
| 426 | + |
| 427 | + |
| 428 | + |
| 429 | + |
| 430 | + |
| 431 | + |
| 432 | + |
| 433 | + |
| 434 | + |
| 435 | + |
| 436 | + |
| 437 | + |
388 | 438 | |
389 | 439 | |
390 | 440 | |
|
0 commit comments