Skip to content
Prev Previous commit
Next Next commit
test: add multiple object case
  • Loading branch information
jenthone authored and meixg committed Aug 24, 2025
commit 0230e45fda548da94d2fa67104704d982ee9fb05
13 changes: 13 additions & 0 deletions test/parallel/test-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,19 @@ const errorTests = [
expect: '[Function (anonymous)]'
},
// Multiline object
{
send: '{}),({}',
expect: '... ',
},
{
send: '}',
expect: [
'{}),({}',
kArrow,
'',
/^Uncaught SyntaxError: /,
]
},
{
send: '{ a: ',
expect: '| '
Expand Down