summaryrefslogtreecommitdiff
path: root/testcases/020-percentliteral-ddate
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2020-02-18 16:57:23 +0100
committerFelix Buehler <account@buehler.rocks>2020-02-18 20:22:36 +0100
commit3ceb0b8fcff1b247067482f3b73574f6021cb185 (patch)
treebe3d032c665fc61f7eec33295bf3d23be4e59a32 /testcases/020-percentliteral-ddate
parentb61e959a58750fe3a4cf9ed2472d4cb7112bd2c3 (diff)
use format_placeholder for ddate
Diffstat (limited to 'testcases/020-percentliteral-ddate')
-rw-r--r--testcases/020-percentliteral-ddate/expected_output.txt1
-rw-r--r--testcases/020-percentliteral-ddate/i3status.conf9
2 files changed, 10 insertions, 0 deletions
diff --git a/testcases/020-percentliteral-ddate/expected_output.txt b/testcases/020-percentliteral-ddate/expected_output.txt
new file mode 100644
index 0000000..a0c0525
--- /dev/null
+++ b/testcases/020-percentliteral-ddate/expected_output.txt
@@ -0,0 +1 @@
+I can %haz literal% % ?
diff --git a/testcases/020-percentliteral-ddate/i3status.conf b/testcases/020-percentliteral-ddate/i3status.conf
new file mode 100644
index 0000000..0e0f9c3
--- /dev/null
+++ b/testcases/020-percentliteral-ddate/i3status.conf
@@ -0,0 +1,9 @@
+general {
+ output_format = "none"
+}
+
+order += "ddate"
+
+ddate {
+ format = "I can %haz literal% % ?"
+}