summaryrefslogtreecommitdiff
path: root/test/input
diff options
context:
space:
mode:
authorthdox <thdox@free.fr>2016-11-01 16:43:13 +0100
committerthdox <thdox@free.fr>2017-01-05 20:16:17 +0100
commit58af4cfb4aaf460768e0246ca3b72d90b36a7d0d (patch)
treefb90f3ded3de832ebb6929ed6b959737c168c43e /test/input
parent9432937f5c331b83e06a6489042e223a5904ca74 (diff)
downloadfork-ledger-58af4cfb4aaf460768e0246ca3b72d90b36a7d0d.tar.gz
fork-ledger-58af4cfb4aaf460768e0246ca3b72d90b36a7d0d.tar.bz2
fork-ledger-58af4cfb4aaf460768e0246ca3b72d90b36a7d0d.zip
Add regress test for bugs 550 and 584
Diffstat (limited to 'test/input')
-rw-r--r--test/input/spaces.dat55
1 files changed, 0 insertions, 55 deletions
diff --git a/test/input/spaces.dat b/test/input/spaces.dat
deleted file mode 100644
index 1ada1b61..00000000
--- a/test/input/spaces.dat
+++ /dev/null
@@ -1,55 +0,0 @@
-; this file contains spaces after the payee and tag values. Ledger
-; should ignore the trailing spaces for the purposes of determining
-; unique values
-;
-; bug 584 and 550 reported trailing spaces being considered
-; significant in payee and tag values.
-;
-; running
-; ledger -f test/spaces.dat payees
-; yielded two distinct payees, because utils.h/next_element() didn't
-; handle a single space followed by a null correctly.
-;
-; running
-; ledger -f test/spaces.dat reg --group-by "tag('test')"
-; yielded four groups.
-
-2011/11/28 * test
- ; no space after payee or tag value
- Expenses:misc $1 ; test: spaces
- Assets:checking
-
-2011/11/28 * test
- ; single space after payee and tag value
- Expenses:misc $2 ; test: spaces
- Assets:checking
-
-2011/11/28 test
- ; two spaces after payee and tag value
- Expenses:misc $4 ; test: spaces
- Assets:checking
-
-2011/11/28 test
- ; three spaces after payee and tag value
- Expenses:misc $8 ; test: spaces
- Assets:checking
-
-2011/11/28 testcommodity
- ; COM commodity has no space after
- Expenses:misc 1 COM
- Assets:checking
-
-2011/11/28 testcommodity
- ; COM commodity has one space after
- Expenses:misc 1 COM
- Assets:checking
-
-2011/11/28 testcommodity
- ; COM commodity has two spaces after
- Expenses:misc 1 COM
- Assets:checking
-
-2011/11/28 testcommodity
- ; COM commodity has three spaces after
- Expenses:misc 1 COM
- Assets:checking