mirror of
https://github.com/polybar/polybar.git
synced 2024-11-11 13:50:56 -05:00
color: fix tests
This commit is contained in:
parent
47f6d9c25d
commit
616b3fe3e7
1 changed files with 3 additions and 3 deletions
|
@ -89,14 +89,14 @@ TEST(Rgba, hasColor) {
|
|||
}
|
||||
|
||||
TEST(Rgba, isTransparent) {
|
||||
rgba v(0x1243);
|
||||
rgba v{"#123456"};
|
||||
EXPECT_FALSE(v.is_transparent());
|
||||
|
||||
v = rgba(0xff1243);
|
||||
v = rgba{"#ff123456"};
|
||||
|
||||
EXPECT_FALSE(v.is_transparent());
|
||||
|
||||
v = rgba(0xfe1243);
|
||||
v = rgba{"#fe123456"};
|
||||
|
||||
EXPECT_TRUE(v.is_transparent());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue