Commit f72eef0
committed
assert: add partialDeepEqual to strict mode
The `partialDeepStrictEqual` method was not re-exported as
`partialDeepEqual` in strict assertion mode, unlike other
methods such as `deepEqual` and `equal`.
Add the alias so that strict mode users can call
`assert.partialDeepEqual()` consistently with the existing
naming convention.
Fixes: #623271 parent b8b4350 commit f72eef0
File tree
3 files changed
+13
-0
lines changed- lib
- test/parallel
3 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
896 | 897 | | |
897 | 898 | | |
898 | 899 | | |
| 900 | + | |
899 | 901 | | |
900 | 902 | | |
901 | 903 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
151 | 155 | | |
152 | 156 | | |
153 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1596 | 1596 | | |
1597 | 1597 | | |
1598 | 1598 | | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
1599 | 1606 | | |
1600 | 1607 | | |
1601 | 1608 | | |
| |||
0 commit comments