test: add readline test for escape sequence · nodejs/node@9057a16 · GitHub
Skip to content

Commit 9057a16

Browse files
Trottrichardlau
authored andcommitted
test: add readline test for escape sequence
Tests do not cover a small piece of code in lib/internal/readline/utils.js for consuming an escape sequence. This adds a minimal test to cover the code. Refs: https://coverage.nodejs.org/coverage-0848f56cb3943209/lib/internal/readline/utils.js.html#L327 PR-URL: #34952 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
1 parent 75d1612 commit 9057a16

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/parallel/test-readline-keys.js

Lines changed: 3 additions & 0 deletions

0 commit comments

Comments
 (0)