node/test
Sakthipriyan Vairamani 180fd392ca 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: Colin Ihrig <cjihrig@gmail.com>
2015-07-07 12:08:39 -04:00
..
addons test: remove smalloc add-on test 2015-06-01 23:17:52 +02:00
cctest deps: check in gtest, add util unit test 2015-04-01 22:35:56 +02:00
debugger debugger: improve ESRCH error message 2015-06-05 05:54:19 +02:00
disabled test: purge stale disabled tests 2015-06-25 11:21:41 -07:00
fixtures util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
gc test: enable linting for tests 2015-05-19 21:21:27 +02:00
internet crypto: add cert check to CNNIC Whitelist 2015-06-16 23:26:29 +09:00
message test: remove stray copyright notices 2015-05-26 17:17:40 +02:00
parallel test: refactor test-repl-tab-complete 2015-07-07 12:08:39 -04:00
pummel lib,test: fix whitespace issues 2015-06-15 16:37:37 +02:00
sequential util: prepend '(node) ' to deprecation messages 2015-07-03 16:32:29 +02:00
testpy test: create temp dir in common.js 2015-06-12 10:27:29 +10:00
timers test: enable linting for tests 2015-05-19 21:21:27 +02:00
.eslintrc tools: enable/add additional eslint rules 2015-06-11 20:27:35 +02:00
common.js test: tmpdir creation failures should fail tests 2015-06-16 17:19:19 -07:00