-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Carlos Rodriguez
committed
Jul 23, 2015
1 parent
c91f0bc
commit 0cec7be
Showing
2 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
describe('windows CRLF', function () { | ||
it('works', function (done) { | ||
suppose('node', [resolve(__dirname, '../examples/name.js')]) | ||
.on('enter your first name: ').respond('carlos\r\n') | ||
.on('and your last name: ').respond('rodriguez\r\n') | ||
.on('hi, carlos rodriguez!\n').respond("'sup!") | ||
.error(assert.ifError) | ||
.end(function (code) { | ||
assert(!code); | ||
done(); | ||
}); | ||
}); | ||
}); |