Skip to content

test: fix test-console-stdio-setters to test setters

test-console-stdio-setters needs to test against the global console in order to test the setters for the lazy-loaded _stdout and _stderr properties.

Debugging shows that the current form of the test doesn't call into the setters (which also show as uncovered in the current coverage report). Using the global console fixes it.

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

Merge request reports

Loading