Making sure all tests call 'bin/hleder' (and not just 'hledger').
This commit is contained in:
parent
9d00eeec23
commit
6ba1119fdc
@ -32,7 +32,7 @@ b
|
|||||||
>>>=0
|
>>>=0
|
||||||
|
|
||||||
# 4. default commodity with greater precision
|
# 4. default commodity with greater precision
|
||||||
printf 'D $1000.00\n' >add-default-commodity-$$.j; hledger -fadd-default-commodity-$$.j add >/dev/null; cat add-default-commodity-$$.j; rm -f add-default-commodity-$$.j
|
printf 'D $1000.00\n' >add-default-commodity-$$.j; bin/hledger -fadd-default-commodity-$$.j add >/dev/null; cat add-default-commodity-$$.j; rm -f add-default-commodity-$$.j
|
||||||
<<<
|
<<<
|
||||||
|
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ b
|
|||||||
>>>=0
|
>>>=0
|
||||||
|
|
||||||
# 5. default commodity with less precision
|
# 5. default commodity with less precision
|
||||||
printf 'D $1000.0\n' >add-default-commodity-$$.j; hledger -fadd-default-commodity-$$.j add >/dev/null; cat add-default-commodity-$$.j; rm -f add-default-commodity-$$.j
|
printf 'D $1000.0\n' >add-default-commodity-$$.j; bin/hledger -fadd-default-commodity-$$.j add >/dev/null; cat add-default-commodity-$$.j; rm -f add-default-commodity-$$.j
|
||||||
<<<
|
<<<
|
||||||
|
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ b
|
|||||||
>>>=0
|
>>>=0
|
||||||
|
|
||||||
# 6. existing commodity with greater precision
|
# 6. existing commodity with greater precision
|
||||||
printf '2010/1/1\n a $1000.00\n b\n' >add-default-commodity-$$.j; hledger -fadd-default-commodity-$$.j add >/dev/null; cat add-default-commodity-$$.j; rm -f add-default-commodity-$$.j
|
printf '2010/1/1\n a $1000.00\n b\n' >add-default-commodity-$$.j; bin/hledger -fadd-default-commodity-$$.j add >/dev/null; cat add-default-commodity-$$.j; rm -f add-default-commodity-$$.j
|
||||||
<<<
|
<<<
|
||||||
|
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ b
|
|||||||
>>>=0
|
>>>=0
|
||||||
|
|
||||||
# 7. existing commodity with less precision
|
# 7. existing commodity with less precision
|
||||||
printf '2010/1/1\n a $1000.0\n b\n' >add-default-commodity-$$.j; hledger -fadd-default-commodity-$$.j add >/dev/null; cat add-default-commodity-$$.j; rm -f add-default-commodity-$$.j
|
printf '2010/1/1\n a $1000.0\n b\n' >add-default-commodity-$$.j; bin/hledger -fadd-default-commodity-$$.j add >/dev/null; cat add-default-commodity-$$.j; rm -f add-default-commodity-$$.j
|
||||||
<<<
|
<<<
|
||||||
|
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ b
|
|||||||
>>>=0
|
>>>=0
|
||||||
|
|
||||||
# 8. no commodity entered, the (most recent) default commodity should be applied
|
# 8. no commodity entered, the (most recent) default commodity should be applied
|
||||||
printf 'D $1000.0\nD £1,000.00\n' >add-default-commodity-$$.j; hledger -fadd-default-commodity-$$.j add; cat add-default-commodity-$$.j; rm -f add-default-commodity-$$.j
|
printf 'D $1000.0\nD £1,000.00\n' >add-default-commodity-$$.j; bin/hledger -fadd-default-commodity-$$.j add; cat add-default-commodity-$$.j; rm -f add-default-commodity-$$.j
|
||||||
<<<
|
<<<
|
||||||
2010/1/1
|
2010/1/1
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user