summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/parallel/test-console-table.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/parallel/test-console-table.js b/test/parallel/test-console-table.js
index e5b56ced84..3a4d6fefbb 100644
--- a/test/parallel/test-console-table.js
+++ b/test/parallel/test-console-table.js
@@ -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 │