diff options
| author | David Bremner <david@tethera.net> | 2017-02-25 12:09:11 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2017-03-04 20:47:25 -0400 |
| commit | e209b7187365b9f5a356b21f3d11dd2f41fd5a1c (patch) | |
| tree | 9461a616d56c249213ba23407ae45d2f398f4817 /test | |
| parent | f3edc5dc86a2d819ae92998ccfc5ac507dbbc5b0 (diff) | |
lib: centralize query parsing, store results.
The main goal is to prepare the way for non-destructive (or at least
less destructive) exclude tag handling. It does this by having a
pre-parsed query available for further processing. This also allows us
to provide slightly more precise error messages.
Diffstat (limited to 'test')
| -rwxr-xr-x | test/T650-regexp-query.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/T650-regexp-query.sh b/test/T650-regexp-query.sh index a8039610..df48ab82 100755 --- a/test/T650-regexp-query.sh +++ b/test/T650-regexp-query.sh @@ -74,7 +74,7 @@ test_begin_subtest "regexp error reporting" notmuch search 'from:/unbalanced[/' 1>OUTPUT 2>&1 cat <<EOF > EXPECTED notmuch search: A Xapian exception occurred -A Xapian exception occurred performing query: Invalid regular expression +A Xapian exception occurred parsing query: Invalid regular expression Query string was: from:/unbalanced[/ EOF test_expect_equal_file EXPECTED OUTPUT |
