Skip to content

test: add variable arguments support for Argv

Rodrigo Muino Tomonari requested to merge github/fork/danbev/varargs into master

At the moment Argv only supports three arguments which fulfilled my requirements when working on #9163.

This commit adds support for a variable number of arguments. There is also a no-args constructor that is the equivalent to running "node -p process.version" which is hopefully alright as a default.

Refs: https://github.com/nodejs/node/pull/9163

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Merge request reports

Loading