Skip to content

Commit

Permalink
test: inlining completer function
Browse files Browse the repository at this point in the history
  • Loading branch information
fossamagna committed Jul 12, 2022
1 parent a806586 commit 89f547b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/parallel/test-readline-interface.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,10 @@ function assertCursorRowsAndCols(rli, rows, cols) {

{
const fi = new FakeInput();
const completer = (line) => [[], line];
const rli = new readline.Interface(
fi,
fi,
common.mustCallAtLeast(completer),
common.mustCallAtLeast((line) => [[], line]),
true,
);
assert(rli instanceof readline.Interface);
Expand Down

0 comments on commit 89f547b

Please sign in to comment.