Skip to content

test: assert that invalidcmd throws error code

Update invalidcmd test case in test-child-process-spawn-typeerror to assert on specific expected error code.

I've been interested in custom error codes in core for various reasons, @trott suggested this refactor as a place to start looking into usage in tests.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading