diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2022-10-30 20:28:20 +0100 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2022-10-30 22:22:08 +0100 |
commit | 327bca26d87332bddb5969fe93a6a2283f50a363 (patch) | |
tree | cd7de61e62d5538c75118a89ad0651c7a4749698 | |
parent | c45342e74f1377d8fb85a0962c182f2c3e55108a (diff) | |
download | i3-327bca26d87332bddb5969fe93a6a2283f50a363.tar.gz i3-327bca26d87332bddb5969fe93a6a2283f50a363.zip |
add test for bar { height }
-rw-r--r-- | testcases/t/177-bar-config.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testcases/t/177-bar-config.t b/testcases/t/177-bar-config.t index 1a59c6b7..27a3d23e 100644 --- a/testcases/t/177-bar-config.t +++ b/testcases/t/177-bar-config.t @@ -121,6 +121,9 @@ bar { urgent_workspace #2f343a #900000 #ffffff binding_mode #abc123 #123abc #ababab } + + # old syntax for compatibility with i3-gaps + height 50 } EOT @@ -145,6 +148,7 @@ is_deeply($bar_config->{tray_outputs}, [ 'LVDS1', 'HDMI2' ], 'tray_output ok'); is($bar_config->{tray_padding}, 0, 'tray_padding ok'); is($bar_config->{font}, 'Terminus', 'font ok'); is($bar_config->{socket_path}, '/tmp/foobar', 'socket_path ok'); +is($bar_config->{bar_height}, 50, 'bar_height ok'); is_deeply($bar_config->{colors}, { background => '#ff0000', |