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
Make a more concrete test case
  • Loading branch information
shivanth committed Jul 27, 2017
commit 08327ff1b175b0d9459ac99e92fddfc9598f3457
8 changes: 6 additions & 2 deletions test/parallel/test-repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,12 @@ function error_test() {
{ client: client_unix, send: ' \t \n',
expect: prompt_unix },
//Do not parse `...[]` as a REPL keyword
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the linter might fail due to no space between the comment start?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It passes as we do not use the spaced-comment rule. I fixed it anyways.

{ client: client_unix, send: '...[]\n.break',
expect: `${prompt_multiline}${prompt_unix}` }
{ client: client_unix, send: '...[]\n',
expect: `${prompt_multiline}` },
//bring back the repl to prompt
{ client: client_unix, send: '.break',
expect: `${prompt_unix}` }

]);
}

Expand Down