From 1c93a7355f3eceac62274fbf8ab2f250cb371e05 Mon Sep 17 00:00:00 2001 From: Mitchell Kember Date: Tue, 20 Dec 2016 17:15:37 -0500 Subject: Print error message if parsing predicate after '=' --- test/regress/1182_1.test | 12 ++++++++++++ test/regress/1182_2.test | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 test/regress/1182_1.test create mode 100644 test/regress/1182_2.test (limited to 'test/regress') diff --git a/test/regress/1182_1.test b/test/regress/1182_1.test new file mode 100644 index 00000000..e9c399e6 --- /dev/null +++ b/test/regress/1182_1.test @@ -0,0 +1,12 @@ += +2000/01/01 Test + A $1.00 + B + +test bal -> 1 +__ERROR__ +While parsing file "$FILE", line 1: +While parsing automated transaction: +> = +Error: Expected predicate after '=' +end test diff --git a/test/regress/1182_2.test b/test/regress/1182_2.test new file mode 100644 index 00000000..d3c88dd8 --- /dev/null +++ b/test/regress/1182_2.test @@ -0,0 +1,17 @@ +2000/01/01 Test + A $1.00 + B + +============ + +2000/01/02 Test + A $1.00 + B + +test bal -> 1 +__ERROR__ +While parsing file "$FILE", line 5: +While parsing automated transaction: +> ============ +Error: Expected predicate after '=' +end test -- cgit v1.2.3