Skip to content

Commit

Permalink
fix:add: rethink adding default commodity symbol; fix doc instead (pa…
Browse files Browse the repository at this point in the history
…rt 2) [simonmichael#815]
  • Loading branch information
simonmichael authored and adept committed Mar 8, 2024
1 parent fabccbf commit f0614c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hledger/test/add.test
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $ hledger -f $$-add.j add; rm -f $$-add.j
> /Date.*Description.*Account 1.*Amount 1.*Account 2.*Amount 2.*Account 3.*or \. or enter to finish.*/
>2 //

# ** 4. default commodity with greater precision
# ** 4. default commodity with greater precision does not alter entered precision
<


Expand All @@ -46,7 +46,7 @@ $ printf 'D A1000.00\n' >t$$.j; hledger -f t$$.j add >/dev/null; cat t$$.j; rm
> /a +A1000\.0/
>2 //

# ** 5. default commodity with less precision
# ** 5. default commodity with less precision does not alter entered precision
<


Expand All @@ -71,7 +71,7 @@ b
.

$ printf 'D A1000.00\n' >t$$.j; hledger -f t$$.j add >/dev/null; cat t$$.j; rm -f t$$.j
> /a +1000\.00/
> /a +1000/
>2 //

# ** 7. existing commodity with greater precision
Expand Down

0 comments on commit f0614c1

Please sign in to comment.