diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-05-18 18:04:52 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-05-18 18:04:52 +0200 |
commit | 421f84285faffde1def20fe08c4173d129ae4dfd (patch) | |
tree | 1732e3965ed21416df78606fc3561aad5e669cbe /test | |
parent | fa125cb45601bd8fbee817215cee32dc63479c27 (diff) |
Add strikethrough to theme manpage.
- extend theme test to hit all rgba rules.
Diffstat (limited to 'test')
-rw-r--r-- | test/theme-parser-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/theme-parser-test.c b/test/theme-parser-test.c index 713f8726..2dbd8312 100644 --- a/test/theme-parser-test.c +++ b/test/theme-parser-test.c @@ -567,7 +567,7 @@ START_TEST ( test_properties_color_rgba_percent_p ) widget wid; wid.name = "blaat"; wid.state = NULL; - rofi_theme_parse_string ( "* { red: rgba(100%,0%,0%,30%); green: rgba(0%,100%,0%,20%); blue: rgba(0%,0%,100%,70.0%); }"); + rofi_theme_parse_string ( "* { red: rgba(100%,0%,0%,30%); green: rgba(0%,100%,0%,20%); blue: rgba(0% 0% 100%/70.0%); }"); ThemeWidget *twid = rofi_theme_find_widget ( wid.name, wid.state, FALSE ); Property *p = rofi_theme_find_property ( twid, P_COLOR, "red", FALSE ); ck_assert_ptr_nonnull ( p ); @@ -618,7 +618,7 @@ START_TEST ( test_properties_color_rgba ) widget wid; wid.name = "blaat"; wid.state = NULL; - rofi_theme_parse_string ( "* { red: rgba(255,0,0,0.3); green: rgba(0,255,0,0.2); blue: rgba(0,0,255,0.7); }"); + rofi_theme_parse_string ( "* { red: rgba(255,0,0,0.3); green: rgba(0,255,0,0.2); blue: rgba(0 0 255 /0.7); }"); ThemeWidget *twid = rofi_theme_find_widget ( wid.name, wid.state, FALSE ); Property *p = rofi_theme_find_property ( twid, P_COLOR, "red", FALSE ); ck_assert_ptr_nonnull ( p ); |