]> Kevux Git Server - fll/commit
Bugfix: The f_color tests are failing due to test design problems.
authorKevin Day <thekevinday@gmail.com>
Sat, 12 Nov 2022 02:19:28 +0000 (20:19 -0600)
committerKevin Day <thekevinday@gmail.com>
Sat, 12 Nov 2022 02:19:28 +0000 (20:19 -0600)
commit626e0807684cb78b51bbf185ba085cb846ece659
tree50a868102800294a6dff262b0b34ab198132de9d
parent329a1edd5d0fe5e1f1c2eaf4282fd895eca7669e
Bugfix: The f_color tests are failing due to test design problems.

The mock function is incorrectly setting errno mock.
There is no errno as far as I can tell for getenv().

Improve tests by:
- Adding additional "unknown" string to match.
- Actually test the different modes.
level_0/f_color/tests/unit/c/mock-color.c
level_0/f_color/tests/unit/c/test-color-load_context.c