use larger numbers in test

korrat
Sep 29, 2022, 5:49 PM
GUNI4ZUIWBCDRR33NFFAGMHTWDX6BCGLUPAH6MH7SJO373MPNUOQC

Dependencies

  • [2] SJ6AFVZL remove const configuration in favor of runtime config
  • [3] ONRIF4V7 add basic snapshot test for pretty printer

Change contents

  • replacement in common/beancount-pretty-printer/tests/snapshotting.rs at line 27
    [3.903][3.903:950]()
    amount: dec!(-100.00),
    [3.903]
    [3.950]
    amount: dec!(-10000.00),
  • replacement in common/beancount-pretty-printer/tests/snapshotting.rs at line 37
    [3.1304][3.1304:1350]()
    amount: dec!(100.00),
    [3.1304]
    [3.1350]
    amount: dec!(9000.00),
  • edit in common/beancount-pretty-printer/tests/snapshotting.rs at line 43
    [3.1530]
    [3.1530]
    Posting {
    flag: None,
    account: Account::try_from("Expenses:Banking:Fees").unwrap(),
    amount: None,
    cost: None,
    price: None,
    },
  • replacement in common/beancount-pretty-printer/tests/snapshots/snapshotting__pretty_printed_transaction.snap at line 3
    [3.1842][2.356:375]()
    assertion_line: 48
    [3.1842]
    [3.1842]
    assertion_line: 55
  • replacement in common/beancount-pretty-printer/tests/snapshots/snapshotting__pretty_printed_transaction.snap at line 7
    [3.1881][2.376:616]()
    Assets:Checking -100.00 EUR
    Assets:Wallet 100.00 EUR
    [3.1881]
    Assets:Checking -10000.00 EUR
    Assets:Wallet 9000.00 EUR
    Expenses:Banking:Fees