mirror of
https://github.com/polybar/polybar.git
synced 2024-11-25 13:55:47 -05:00
fix(tests): Patch color_util unit test
This commit is contained in:
parent
ac654423aa
commit
3069202354
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ int main() {
|
||||||
|
|
||||||
"hex"_test = [] {
|
"hex"_test = [] {
|
||||||
uint32_t colorA{0x123456};
|
uint32_t colorA{0x123456};
|
||||||
expect(color_util::hex(colorA).compare("#123456") == 0);
|
expect(color_util::hex<uint8_t>(colorA).compare("#123456") == 0);
|
||||||
uint32_t colorB{0xCC123456};
|
uint32_t colorB{0xCC123456};
|
||||||
expect(color_util::hex<uint16_t>(colorB).compare("#cc123456") == 0);
|
expect(color_util::hex<uint16_t>(colorB).compare("#cc123456") == 0);
|
||||||
uint32_t colorC{0x00ffffff};
|
uint32_t colorC{0x00ffffff};
|
||||||
|
|
Loading…
Reference in a new issue