summaryrefslogtreecommitdiff
path: root/testcases/020-percentliteral-path_exists
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2020-04-07 23:06:37 +0200
committerFelix Buehler <account@buehler.rocks>2020-04-07 23:06:37 +0200
commitd1165232ee01640da8804f9df5c551a78410ca74 (patch)
tree25814ab38972c998fc8e4c5e02c9d9487aed0e3c /testcases/020-percentliteral-path_exists
parente697a1f19fba6108a4aa62ea7d849d36acbcb033 (diff)
format_placeholder percent tests
Diffstat (limited to 'testcases/020-percentliteral-path_exists')
-rw-r--r--testcases/020-percentliteral-path_exists/expected_output.txt1
-rw-r--r--testcases/020-percentliteral-path_exists/i3status.conf9
2 files changed, 10 insertions, 0 deletions
diff --git a/testcases/020-percentliteral-path_exists/expected_output.txt b/testcases/020-percentliteral-path_exists/expected_output.txt
new file mode 100644
index 0000000..a0c0525
--- /dev/null
+++ b/testcases/020-percentliteral-path_exists/expected_output.txt
@@ -0,0 +1 @@
+I can %haz literal% % ?
diff --git a/testcases/020-percentliteral-path_exists/i3status.conf b/testcases/020-percentliteral-path_exists/i3status.conf
new file mode 100644
index 0000000..5972914
--- /dev/null
+++ b/testcases/020-percentliteral-path_exists/i3status.conf
@@ -0,0 +1,9 @@
+general {
+ output_format = "none"
+}
+
+order += "path_exists all"
+
+path_exists all {
+ format = "I can %haz literal% % ?"
+}