;dev: rename assertions.test

This commit is contained in:
Simon Michael 2025-04-27 07:45:15 -10:00
parent 2371f677e5
commit 330f3fccaa
4 changed files with 5 additions and 5 deletions

View File

@ -226,4 +226,4 @@ If you find that adding --fast makes this any faster, please update this.
### Rerun a single functional test as you change it:
watchexec -w hledger/test/journal/balance-assertions.test just functest -i budget.*19
watchexec -w hledger/test/journal/assertions.test just functest -i budget.*19

View File

@ -527,7 +527,7 @@ journalBalanceTransactions bopts' j' =
ts' <- lift $ getElems balancedtxns
return j{jtxns=ts'}
-- Before #2039: "Costs are removed, which helps eg balance-assertions.test: 15. Mix different commodities and assignments."
-- Before #2039: "Costs are removed, which helps eg assertions.test: 15. Mix different commodities and assignments."
-- | This function is called statefully on each of a date-ordered sequence of
-- 1. fully explicit postings from already-balanced transactions and

View File

@ -55,10 +55,10 @@ Some explanation:
- `--threads=N` runs tests in parallel which is much faster.
- `-x` is another spelling of --exclude
Run only the tests matching a regular expression (here, the 19th test in the balance-assertions.test file):
Run only the tests matching a regular expression (here, the 19th test in the assertions.test file):
$ just functest -i balance-assertions.*19
:hledger/test/journal/balance-assertions.test:19: [OK]
:hledger/test/journal/assertions.test:19: [OK]
Test Cases Total
Passed 1 1
@ -67,7 +67,7 @@ Run only the tests matching a regular expression (here, the 19th test in the bal
Run a specific test repeatedly as its file is changed:
$ watchexec -w hledger/test/journal/balance-assertions.test just functest -i balance-assertions.*19
$ watchexec -w hledger/test/journal/assertions.test just functest -i balance-assertions.*19
:hledger/test/cli/query-args.test:1: [OK]
Test Cases Total