From d1165232ee01640da8804f9df5c551a78410ca74 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Tue, 7 Apr 2020 23:06:37 +0200 Subject: format_placeholder percent tests --- testcases/020-percentliteral-time/expected_output.txt | 1 + testcases/020-percentliteral-time/i3status.conf | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 testcases/020-percentliteral-time/expected_output.txt create mode 100644 testcases/020-percentliteral-time/i3status.conf (limited to 'testcases/020-percentliteral-time') diff --git a/testcases/020-percentliteral-time/expected_output.txt b/testcases/020-percentliteral-time/expected_output.txt new file mode 100644 index 0000000..a0c0525 --- /dev/null +++ b/testcases/020-percentliteral-time/expected_output.txt @@ -0,0 +1 @@ +I can %haz literal% % ? diff --git a/testcases/020-percentliteral-time/i3status.conf b/testcases/020-percentliteral-time/i3status.conf new file mode 100644 index 0000000..22cb2a0 --- /dev/null +++ b/testcases/020-percentliteral-time/i3status.conf @@ -0,0 +1,9 @@ +general { + output_format = "none" +} + +order += "time" + +time { + format = "I can %%haz literal% % ?" +} -- cgit v1.2.3