Skip to content

Commit

Permalink
plugins/ledger: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Mar 3, 2024
1 parent f343db2 commit ef82c0d
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions tests/test-sources/plugins/languages/ledger.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
empty = {
plugins.ledger.enable = true;
};

defaults = {
plugins.ledger = {
enable = true;

settings = {
bin = null;
is_hledger = null;
extra_options = "";
accounts_cmd = null;
descriptions_cmd = null;
maxwidth = 0;
fillstring = " ";
detailed_first = true;
fold_blanks = false;
decimal_sep = ".";
align_last = false;
align_at = 60;
default_commodity = "";
align_commodity = false;
commodity_before = true;
commodity_sep = "";
commodity_spell = false;
date_format = "%Y/%m/%d";
main = "%";
winpos = "B";
qf_register_format = null;
qf_reconcile_format = null;
use_location_list = false;
qf_vertical = false;
qf_size = 10;
qf_hide_file = true;
cleared_string = "Cleared: ";
pending_string = "Cleared or pending: ";
target_string = "Difference from target: ";
};
};
};
}

0 comments on commit ef82c0d

Please sign in to comment.