Sitelet https://github.com/nodejs/node/pull/46987/commits/078088d772f6e508bd0d27fed807e038bdbefa11
Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test: add multiple object case
  • Loading branch information
jenthone
jenthone committed Mar 9, 2023
commit 078088d772f6e508bd0d27fed807e038bdbefa11
13 changes: 13 additions & 0 deletions test/parallel/test-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,19 @@ const errorTests = [
expect: '[Function (anonymous)]'
},
// Multiline object
{
send: '{}),({}',
expect: '... ',
},
{
send: '}',
expect: [
'{}),({}',
kArrow,
'',
/^Uncaught SyntaxError: /,
]
},
{
send: '{ a: ',
expect: '... '
Expand Down