diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/input/parsing.dat | 6 | ||||
-rw-r--r-- | test/regress/516.test | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/input/parsing.dat b/test/input/parsing.dat new file mode 100644 index 00000000..3e10804b --- /dev/null +++ b/test/input/parsing.dat @@ -0,0 +1,6 @@ + +;NOTE: this file should NOT end in a new line +;See https://github.com/ledger/ledger/issues/516 +2021/07/14 test + Assets $30 + Income -$30
\ No newline at end of file diff --git a/test/regress/516.test b/test/regress/516.test new file mode 100644 index 00000000..538b5cb3 --- /dev/null +++ b/test/regress/516.test @@ -0,0 +1,4 @@ +test cleared --file test/input/parsing.dat --cleared-format "%-30(account) %15(get_at(total_expr, 0)) %15(get_at(total_expr, 1))\n%/" +Assets $30 0 +Income $-30 0 +end test |