test_should_do_markup_respects_config_value fails when NO_COLOR
env variable is set
#943
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gentoo CI system detected following test failure:
The issue can be reproduced when the tests are run with
NO_COLOR=1
environmental variable set, see also https://bugs.gentoo.org/943393. This happens becauseshould_do_markup
returnsFalse
whenNO_COLOR
is setI think it would be appropriate to sanitize env variables before the test.
Thanks for bringing this to my attention. IMO, unit tests shouldn't even be looking at environment variables to begin with. Anyway, this has been fixed in main and will be part of the next release!