summaryrefslogtreecommitdiff
path: root/test/regress/1106.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/1106.test')
-rw-r--r--test/regress/1106.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/regress/1106.test b/test/regress/1106.test
new file mode 100644
index 00000000..c6b41071
--- /dev/null
+++ b/test/regress/1106.test
@@ -0,0 +1,11 @@
+2015/01/20 Payee
+ Assets:Cash ¤ 12,34
+ Expenses:Food
+
+test -F "»%(trim(' Trimmed '))«\n" reg expenses
+»Trimmed«
+end test
+
+test -F "»%(trim('Trimmed'))«\n" reg expenses
+»Trimmed«
+end test