mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-20 02:37:12 +03:00
;Add shelltests demonstrating bug reported in issue 457
This commit is contained in:
parent
9d6db33278
commit
7394441728
@ -23,3 +23,26 @@
|
||||
# PATH= ~/.local/bin/stack exec -- hledger
|
||||
#>>>=0
|
||||
|
||||
############################ issue 457 #####################################
|
||||
# 5. test for `>` in https://github.com/simonmichael/hledger/issues/457 #
|
||||
# note a shelltest already provides one level of quoting, so amt:>0 not 'amt:>0' #
|
||||
# #
|
||||
$ hledger -f - ui amt:>0 #
|
||||
>2 !/could not parse/ #
|
||||
>=1 #
|
||||
#
|
||||
# 6. test for `<` in https://github.com/simonmichael/hledger/issues/457 #
|
||||
$ hledger -f - ui amt:<0 #
|
||||
>2 !/could not parse/ #
|
||||
>=1 #
|
||||
#
|
||||
# 7. test for `>=` in https://github.com/simonmichael/hledger/issues/457 #
|
||||
$ hledger -f - ui amt:>=0 #
|
||||
>2 !/could not parse/ #
|
||||
>=1 #
|
||||
#
|
||||
# 8. test for `<=` in https://github.com/simonmichael/hledger/issues/457 #
|
||||
$ hledger -f - ui amt:<=0 #
|
||||
>2 !/could not parse/ #
|
||||
>=1 #
|
||||
##################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user