diff options
| author | David Bremner <david@tethera.net> | 2021-03-04 09:31:13 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-03-20 07:24:59 -0300 |
| commit | cba540d6f5cbbad282a3046ed00a7966238fa14d (patch) | |
| tree | f13438ff3759a2707ded42b2d2ecbac2cef9516e /test/T560-lib-error.sh | |
| parent | 82aa3f4d2762cd56585369de5fa17cb50d77c85d (diff) | |
lib/open: reuse directory checks from n_d_c_with_config
Make checks more uniform between creating new databases and opening
existing ones.
Diffstat (limited to 'test/T560-lib-error.sh')
| -rwxr-xr-x | test/T560-lib-error.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh index ade376ef..03df69d9 100755 --- a/test/T560-lib-error.sh +++ b/test/T560-lib-error.sh @@ -76,7 +76,7 @@ EOF cat <<'EOF' >EXPECTED == stdout == == stderr == -Error opening database at CWD/nonexistent/foo/.notmuch: No such file or directory +Error: Cannot open database at CWD/nonexistent/foo: No such file or directory. EOF test_expect_equal_file EXPECTED OUTPUT @@ -111,7 +111,7 @@ EOF cat <<'EOF' >EXPECTED == stdout == == stderr == -Error: Cannot create database at CWD/nonexistent/foo: No such file or directory. +Error: Cannot open database at CWD/nonexistent/foo: No such file or directory. EOF test_expect_equal_file EXPECTED OUTPUT |
