mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
fix some tests
This commit is contained in:
parent
0d6e696699
commit
27a0900ea9
@ -62,7 +62,7 @@ tests = TestList [
|
||||
"account directive" ~:
|
||||
let sameParse str1 str2 = do j1 <- readJournal Nothing str1 >>= either error' return
|
||||
j2 <- readJournal Nothing str2 >>= either error' return
|
||||
j1 `is` j2{filereadtime=filereadtime j1, files=files j1}
|
||||
j1 `is` j2{filereadtime=filereadtime j1, files=files j1, jContext=jContext j1}
|
||||
in TestList
|
||||
[
|
||||
"account directive 1" ~: sameParse
|
||||
|
@ -1,5 +1,5 @@
|
||||
# print with negative account pattern should exclude transactions containing a matched posting
|
||||
hledger -f- print not:a
|
||||
bin/hledger -f- print not:a
|
||||
<<<
|
||||
2010/1/1 x
|
||||
a 1
|
||||
|
Loading…
Reference in New Issue
Block a user