diff options
| author | Ellis KenyĆ <elken@users.noreply.github.com> | 2022-06-20 22:51:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-20 14:51:17 -0700 |
| commit | ac6f733d7ba80d6a4d50fa16eae96ad2fee63790 (patch) | |
| tree | 444ab20e286872f997d0cf8f1c143df994feca67 /test | |
| parent | 2fa9dd97eddf54fe4fe01449612722399aa05d1c (diff) | |
Add bean-format (#101)
* feat: add bean-format
* fix: apt => apt-get
Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
* fix: pip => pip3
Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
* Update changelog
Co-authored-by: Radon Rosborough <radon.neon@gmail.com>
Diffstat (limited to 'test')
| -rw-r--r-- | test/formatters/installers/bean-format.bash | 2 | ||||
| -rw-r--r-- | test/formatters/samplecode/bean-format/in.beancount | 11 | ||||
| -rw-r--r-- | test/formatters/samplecode/bean-format/out.beancount | 11 |
3 files changed, 24 insertions, 0 deletions
diff --git a/test/formatters/installers/bean-format.bash b/test/formatters/installers/bean-format.bash new file mode 100644 index 0000000..b7de5bb --- /dev/null +++ b/test/formatters/installers/bean-format.bash @@ -0,0 +1,2 @@ +apt-get install -y python3-pip +pip3 install beancount diff --git a/test/formatters/samplecode/bean-format/in.beancount b/test/formatters/samplecode/bean-format/in.beancount new file mode 100644 index 0000000..b7f99b1 --- /dev/null +++ b/test/formatters/samplecode/bean-format/in.beancount @@ -0,0 +1,11 @@ +* Section header +;; Accounts (comments) +2013-01-01 open Expenses:Restaurant +2013-01-01 open Assets:Cash +2014-03-02 * "Something" + Expenses:Restaurant 50.02 USD + Assets:Cash +2014-03-05 balance Assets:Cash -50.02 USD +2014-03-10 * "Something" + Assets:Other 10 HOOL {500.23} USD ; Bla + Assets:Cash diff --git a/test/formatters/samplecode/bean-format/out.beancount b/test/formatters/samplecode/bean-format/out.beancount new file mode 100644 index 0000000..63fc6a6 --- /dev/null +++ b/test/formatters/samplecode/bean-format/out.beancount @@ -0,0 +1,11 @@ +* Section header +;; Accounts (comments) +2013-01-01 open Expenses:Restaurant +2013-01-01 open Assets:Cash +2014-03-02 * "Something" + Expenses:Restaurant 50.02 USD + Assets:Cash +2014-03-05 balance Assets:Cash -50.02 USD +2014-03-10 * "Something" + Assets:Other 10 HOOL {500.23} USD ; Bla + Assets:Cash |
