1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2025-11-06 22:34:39 -05:00

refactor: Cleanup handling of syntax tags

This commit is contained in:
Michael Carlberg 2016-11-24 19:24:47 +01:00
parent 199a825494
commit 84d58e7619
25 changed files with 863 additions and 716 deletions

View file

@ -30,4 +30,10 @@ int main() {
uint32_t colorC{0x00ffffff};
expect(color_util::hex<uint16_t>(colorC).compare("#00ffffff") == 0);
};
"simplify"_test = [] {
expect(color_util::simplify_hex("#ff223344") == "#234");
expect(color_util::simplify_hex("#ee223344") == "#ee223344");
expect(color_util::simplify_hex("#ff234567") == "#234567");
};
}