Commit 180fd392 authored by Sakthipriyan Vairamani's avatar Sakthipriyan Vairamani Committed by cjihrig
Browse files

test: refactor test-repl-tab-complete

The original test uses a variable to explicitly count how many
times the callback is invoked. This patch uses common.mustCall()
to track if the callback is called or not. This makes the test
more robust, as we don't explicitly hardcode the number of times
to be called.

PR-URL: https://github.com/nodejs/io.js/pull/2122


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 84b39157
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment