File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -759,8 +759,8 @@ TEST test_dbus_notify_colors(void)
759
759
ASSERTm ("Valid color strings should change the notification color" , COLOR_SAME (n -> colors .fg , fg ));
760
760
761
761
// Invalid color strings are ignored
762
- // ASSERTm("Invalid color strings should not change the color struct", COLOR_SAME(n->colors.bg, settings.colors_norm.bg));
763
- // ASSERTm("Invalid color strings should not change the color struct", COLOR_SAME( n->colors.highlight, settings.colors_norm.highlight) );
762
+ ASSERTm ("Invalid color strings should not change the color struct" , COLOR_SAME (n -> colors .bg , settings .colors_norm .bg ));
763
+ ASSERTm ("Invalid color strings should not change the gradient struct" , n -> colors .highlight == settings .colors_norm .highlight );
764
764
765
765
dbus_notification_free (n_dbus );
766
766
Original file line number Diff line number Diff line change @@ -92,12 +92,12 @@ TEST test_dunstrc_defaults(void) {
92
92
break ;
93
93
case TYPE_TIME :
94
94
case TYPE_INT :
95
- {
95
+ {
96
96
int a = * (int * ) ((char * ) & s_default + offset );
97
97
int b = * (int * ) ((char * ) & s_dunstrc + offset );
98
98
ASSERT_EQm (message , a , b );
99
- }
100
- break ;
99
+ }
100
+ break ;
101
101
case TYPE_DOUBLE :
102
102
case TYPE_STRING :
103
103
case TYPE_PATH :
You can’t perform that action at this time.
0 commit comments