migrate-config: also leave client.background lines unchanged (Thanks cloud)
This commit is contained in:
parent
f9af0e399e
commit
95ee21dc3b
|
@ -41,6 +41,7 @@ my @unchanged = qw(
|
||||||
client.focused_inactive
|
client.focused_inactive
|
||||||
client.unfocused
|
client.unfocused
|
||||||
client.urgent
|
client.urgent
|
||||||
|
client.background
|
||||||
);
|
);
|
||||||
|
|
||||||
my %workspace_names;
|
my %workspace_names;
|
||||||
|
|
|
@ -65,6 +65,7 @@ $input = <<EOT;
|
||||||
client.focused_inactive #FF0000 #FF0000 #FF0000
|
client.focused_inactive #FF0000 #FF0000 #FF0000
|
||||||
client.unfocused #00FF00 #00FF00 #00FF00
|
client.unfocused #00FF00 #00FF00 #00FF00
|
||||||
client.urgent #0000FF #0000FF #0000FF
|
client.urgent #0000FF #0000FF #0000FF
|
||||||
|
client.background #000000
|
||||||
EOT
|
EOT
|
||||||
|
|
||||||
$output = migrate_config($input);
|
$output = migrate_config($input);
|
||||||
|
@ -80,6 +81,7 @@ ok(line_exists($output, qr|^client\.focused #2F343A #900000 #FFFFFF$|), 'client.
|
||||||
ok(line_exists($output, qr|^client\.focused_inactive #FF0000 #FF0000 #FF0000$|), 'client.focused_inactive unchanged');
|
ok(line_exists($output, qr|^client\.focused_inactive #FF0000 #FF0000 #FF0000$|), 'client.focused_inactive unchanged');
|
||||||
ok(line_exists($output, qr|^client\.unfocused #00FF00 #00FF00 #00FF00$|), 'client.unfocused unchanged');
|
ok(line_exists($output, qr|^client\.unfocused #00FF00 #00FF00 #00FF00$|), 'client.unfocused unchanged');
|
||||||
ok(line_exists($output, qr|^client\.urgent #0000FF #0000FF #0000FF$|), 'client.urgent unchanged');
|
ok(line_exists($output, qr|^client\.urgent #0000FF #0000FF #0000FF$|), 'client.urgent unchanged');
|
||||||
|
ok(line_exists($output, qr|^client\.background #000000$|), 'client.background unchanged');
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
# check whether the bar colors get removed properly
|
# check whether the bar colors get removed properly
|
||||||
|
|
Loading…
Reference in New Issue