test: add tests for console.[info|error|warn]
Checklist
-
tests and code linting passes -
a test and/or benchmark is included -
the commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
Add tests for console.[info|error|warn]
.
Just copied the basic tests for log
, as they're all the same thing
as log
in either stdout
or stderr
.