0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Sakthipriyan Vairamani afd7e37ee0 repl: better empty line handling
In REPL, if we try to evaluate an empty line, we get `undefined`.

    > process.version
    'v2.3.4'
    >
    undefined
    >
    undefined
    >

This patch prevents `undefined` from printing if the string is empty.

    > process.version
    'v2.3.5-pre'
    >
    >
    >

PR-URL: https://github.com/nodejs/io.js/pull/2163
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-07-25 00:34:06 +05:30
..
addons
cctest
debugger
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
internet test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
message
parallel repl: better empty line handling 2015-07-25 00:34:06 +05:30
pummel test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
sequential test: changing process.exit to return while skipping tests 2015-07-20 15:50:42 +05:30
testpy test: create temp dir in common.js 2015-06-12 10:27:29 +10:00
timers
.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