assertion should be on the most recent entry

This commit is contained in:
Anish Lakhwara 2022-12-08 12:25:52 +10:00
parent 27d4a03daf
commit 60304168d7

View file

@ -386,5 +386,5 @@
(mapv write-transaction-to-file (drop-last (take-csv csv)))
(mapv write-transaction-to-file-savings (drop-last (take-csv csv))))
(write-accounts beancount-file)
(assert-balance (last (take-csv csv)) checking?)
(assert-balance (first (take-csv csv)) checking?)
(reset! new-accounts #{}))