diff options
author | Gwyneth Morgan <gwymor@tilde.club> | 2023-09-12 19:50:24 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2023-10-12 13:55:48 -0700 |
commit | f480f37a847100d351a970a1b83a86d9eeccbcc7 (patch) | |
tree | 1d47f591c525e948496a38195e22d5b11b80b484 /test/regress/1182_2.test | |
parent | 4355c4faf157d5ef47b126286aa501742732708d (diff) | |
download | fork-ledger-f480f37a847100d351a970a1b83a86d9eeccbcc7.tar.gz fork-ledger-f480f37a847100d351a970a1b83a86d9eeccbcc7.tar.bz2 fork-ledger-f480f37a847100d351a970a1b83a86d9eeccbcc7.zip |
Fix =regex note query syntax
The manpage documents `=regex` as equivalent to the `note regex` query
syntax, but the former does not actually work as the parser only handles
an equals sign in the case of `tag type=dining` syntax, and doesn't
handle the case where an equals sign starts a note query.
Fixing this does break queries like `tag type = dining` with spaces
around the equals sign, but that syntax was not intended or documented.
Closes: #2275
Diffstat (limited to 'test/regress/1182_2.test')
-rw-r--r-- | test/regress/1182_2.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regress/1182_2.test b/test/regress/1182_2.test index d3c88dd8..6c018e94 100644 --- a/test/regress/1182_2.test +++ b/test/regress/1182_2.test @@ -13,5 +13,5 @@ __ERROR__ While parsing file "$FILE", line 5: While parsing automated transaction: > ============ -Error: Expected predicate after '=' +Error: note operator not followed by argument end test |