fix:timeclock: change misleadding error message in --old-timeclock mode
This commit is contained in:
parent
9849f196cb
commit
65eb0b1f78
@ -184,7 +184,6 @@ timeclockToTransactions now entries0 = transactions
|
||||
errorExpectedCodeButGot :: TimeclockCode -> TimeclockEntry -> a
|
||||
errorExpectedCodeButGot expected actual = error' $ printf
|
||||
("%s:\n%s\n%s\n\nExpected a timeclock %s entry but got %s.\n"
|
||||
++"Only one session may be clocked in at a time.\n"
|
||||
++"Please alternate i and o, beginning with i.")
|
||||
(sourcePosPretty $ tlsourcepos actual)
|
||||
(l ++ " | " ++ show actual)
|
||||
|
||||
@ -354,7 +354,6 @@ hledger: Error: /Users/simon/src/hledger/hledger/test/errors/./tcorderedactions.
|
||||
| ^
|
||||
|
||||
Expected a timeclock o entry but got i.
|
||||
Only one session may be clocked in at a time.
|
||||
Please alternate i and o, beginning with i.
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user