mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
test: deep object to table not covered
PR-URL: https://github.com/nodejs/node/pull/24257 Reviewed-By: Weijia Wang <starkwang@126.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
f3b49cfa7b
commit
ed15b336dc
@ -168,6 +168,14 @@ test({ a: { a: 1, b: 2, c: 3 } }, `
|
||||
└─────────┴───┴───┴───┘
|
||||
`);
|
||||
|
||||
test({ a: { a: { a: 1, b: 2, c: 3 } } }, `
|
||||
┌─────────┬──────────┐
|
||||
│ (index) │ a │
|
||||
├─────────┼──────────┤
|
||||
│ a │ [Object] │
|
||||
└─────────┴──────────┘
|
||||
`);
|
||||
|
||||
test({ a: [1, 2] }, `
|
||||
┌─────────┬───┬───┐
|
||||
│ (index) │ 0 │ 1 │
|
||||
|
Loading…
Reference in New Issue
Block a user