aboutsummaryrefslogtreecommitdiff
path: root/testcases/t/201-config-parser.t
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/t/201-config-parser.t')
-rw-r--r--testcases/t/201-config-parser.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/testcases/t/201-config-parser.t b/testcases/t/201-config-parser.t
index a8d45325..872522d1 100644
--- a/testcases/t/201-config-parser.t
+++ b/testcases/t/201-config-parser.t
@@ -99,11 +99,22 @@ is(parser_calls($config),
$config = <<'EOT';
for_window [class="^Chrome"] floating enable
+for_window [class=^Chrome] floating enable
+for_window [floating_from="auto" class="==Class=="] nop floating
+for_window [floating_from=auto class="==Class=="] nop floating
EOT
$expected = <<'EOT';
cfg_criteria_add(class, ^Chrome)
cfg_for_window(floating enable)
+cfg_criteria_add(class, ^Chrome)
+cfg_for_window(floating enable)
+cfg_criteria_add(floating_from, auto)
+cfg_criteria_add(class, ==Class==)
+cfg_for_window(nop floating)
+cfg_criteria_add(floating_from, auto)
+cfg_criteria_add(class, ==Class==)
+cfg_for_window(nop floating)
EOT
is(parser_calls($config),