0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/cctest
Daniel Bevenius 92de91d570 test: fix truncation of argv
Currently argv_[1] and argv_[2] are getting truncated by one character
because of an incorrect addition of one to account for the null
character. I only noticed this when working on #12087, but that fix
will probably not get included in favor of a JavaScript test so I'm
adding this separate commit for it.

Refs: https://github.com/nodejs/node/pull/12087
PR-URL: https://github.com/nodejs/node/pull/12110
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
2017-03-31 07:15:24 +02:00
..
node_test_fixture.cc build: enable cctest to use generated objects 2017-03-24 08:28:43 -07:00
node_test_fixture.h test: fix truncation of argv 2017-03-31 07:15:24 +02:00
test_inspector_socket_server.cc inspector: no crash when WS server can't start 2017-01-20 09:10:37 -08:00
test_inspector_socket.cc inspector: fix Coverity defects 2016-12-14 09:54:07 -08:00
test_url.cc test: add cctest for native URL class 2017-03-27 10:12:44 -07:00
test_util.cc build: enable cctest to use generated objects 2017-03-24 08:28:43 -07:00