1
0
Fork 0
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:
Michael Carlberg 2016-11-22 01:38:03 +01:00
parent ac654423aa
commit 3069202354

View file

@ -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};