hledger/hledger/test/ledger-compat/ledger-baseline/cmd-entry.test.ignored
2023-10-29 00:16:47 +01:00

69 lines
1.4 KiB
Plaintext

2012-03-23 * Test 1
A $10.00
B
2012-03-24 * Test 2
; Payee: Test 3
C 20.00 EUR
D
2012-03-25 * Test 4
E 30.00 GBP
F
$ hledger -f- check
#test --now 2012/03/25 entry "Test 1"
#2012/03/25 Test 1
# A $10.00
# B
#end test
#
#test --now 2012/03/25 entry "Test 2"
#2012/03/25 Test 2
# C 20.00 EUR
# D
#end test
#
#; I think this output is wrong, see bug #737
#test --now 2012/03/25 entry "Test 3"
#2012/03/25 Test 4
# E 30.00 GBP
# F
#end test
#
#test --now 2012/03/25 entry "Test 4"
#2012/03/25 Test 4
# E 30.00 GBP
# F
#end test
#
#test entry no:such:account -> 1
#__ERROR__
#Error: No accounts, and no past transaction matching 'no:such:account'
#end test
#
#test entry --now 2012/03/25 thursday "Test 1"
#2012/03/22 Test 1
# A $10.00
# B
#end test
#
#test --now 2012/03/25 entry tue at "Test 2"
#2012/03/20 Test 2
# C 20.00 EUR
# D
#end test
#
#test --now 2012/03/25 entry "Test 1" from D
#2012/03/25 Test 1
# A $10.00
# D
#end test
#
#test --now 2012/03/25 entry "Test 1" from -> 1
#__ERROR__
#Error: Invalid xact command arguments
#end test
#
#