diff options
author | MichaĆ Sabiniarz <31597105+mhvsa@users.noreply.github.com> | 2020-03-30 19:45:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-30 13:45:37 -0400 |
commit | 4b71ac550ea964e9c647dbb6bd9879bc06357255 (patch) | |
tree | 2bda96726a1900a334b20fa8b1a4cfea5e2aac7b /cli/tests | |
parent | a98512af9a123b77332f0e7a75cfce753b7189bc (diff) |
console: iterable printing improvements (#4472)
1. Array elements are now grouped the same as in Node.js
2. Limit to 100 (Node.js default) elements to display in iterable
3. Print each element in new line if excessing max line length (same as in Node.js)
4. Print length of the TypedArray
5. Print information about empty items in Array
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/seed_random.js.out | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/cli/tests/seed_random.js.out b/cli/tests/seed_random.js.out index c65e40f97..2b5551c83 100644 --- a/cli/tests/seed_random.js.out +++ b/cli/tests/seed_random.js.out @@ -8,5 +8,16 @@ 0.3824611207183364 0.5950178237266042 0.22440633214343908 -Uint8Array [ 116, 125, 169, 69, 106, 231, 99, 39, 148, 188, 211, 41, 46, 211, 236, 141, 55, 10, 214, 63, 118, 230, 218, 249, 125, 161, 137, 110, 214, 36, 159, 154 ] -Uint8Array [ 248, 21, 21, 9, 41, 0, 71, 124, 244, 209, 252, 151, 7, 10, 168, 250, 84, 170, 243, 140, 53, 47, 99, 212, 18, 146, 68, 48, 66, 222, 67, 112 ] +Uint8Array(32) [ + 116, 125, 169, 69, 106, 231, 99, + 39, 148, 188, 211, 41, 46, 211, + 236, 141, 55, 10, 214, 63, 118, + 230, 218, 249, 125, 161, 137, 110, + 214, 36, 159, 154 +] +Uint8Array(32) [ + 248, 21, 21, 9, 41, 0, 71, 124, + 244, 209, 252, 151, 7, 10, 168, 250, + 84, 170, 243, 140, 53, 47, 99, 212, + 18, 146, 68, 48, 66, 222, 67, 112 +] |