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:
parent
199a825494
commit
84d58e7619
25 changed files with 863 additions and 716 deletions
|
|
@ -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");
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue