diff --git a/tests/csv/read.test b/tests/csv/read.test index f9e56f54e..619ae03e7 100644 --- a/tests/csv/read.test +++ b/tests/csv/read.test @@ -44,3 +44,17 @@ >>>2 /using conversion rules file.*t.rules/ >>>=0 + +# 5. this should infer display styles correctly +hledger --rules-file minimal.csv.rules -f- balance --no-total +<<< +"2016/1/1","$1" +"2016/2/2","$1,000.00" +>>> + $-1,001.00 income:unknown + $1,001.00 unknown +>>>=0 +# XXX but doesn't: +# Got stdout: +# $-1001.00 income:unknown +# $1,001.00 unknown