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
Next Next commit
fixup! test: add tests for new language features
  • Loading branch information
BridgeAR committed Apr 25, 2019
commit 022aa3517f39adfb92f2f25315afb5f67279eb8f
15 changes: 15 additions & 0 deletions test/parallel/test-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,21 @@ const errorTests = [
send: '1 }',
expect: '{ a: 1 }'
},
// Multiline class with private member.
{
send: 'class Foo { #private = true ',
expect: '... '
},
// Class field with bigint.
{
send: 'num = 123456789n',
expect: '... '
},
// Static class features.
{
send: 'static foo = "bar" }',
expect: 'undefined'
},
// Multiline anonymous function with comment
{
send: '(function() {',
Expand Down