; Check that error reporting works for "-f -"

2012/02/30 * Test
  a  1
  b

$ hledger -f- check

#test -f - reg -> 1
#__ERROR__
#While parsing file "", line 3:
#While parsing transaction:
#<no source context>
#Error: Day of month is not valid for year
#end test
#
#test -f /dev/stdin reg -> 1
#__ERROR__
#While parsing file "", line 3:
#While parsing transaction:
#<no source context>
#Error: Day of month is not valid for year
#end test
#