Skip to content

Commit

Permalink
test: fix readline test case in node@6
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Jun 4, 2016
1 parent 1704ccd commit 500dc59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -6,6 +6,7 @@ node_js:
- "iojs-v3"
- "4"
- "5"
- "6"
sudo: false
language: node_js
script: "npm run test-travis"
Expand Down
6 changes: 4 additions & 2 deletions test/mz.js
Expand Up @@ -179,7 +179,8 @@ describe('readline', function () {
done()
})

input.write('b\t\n')
input.write('b\t')
input.write('\n')
})

it('completer support async', function (done) {
Expand All @@ -197,7 +198,8 @@ describe('readline', function () {
done()
})

input.write('b\t\n')
input.write('b\t')
input.write('\n')
})
})
})
Expand Down

0 comments on commit 500dc59

Please sign in to comment.