diff options
| author | David Bremner <david@tethera.net> | 2015-04-08 23:31:43 +0900 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-04-08 23:43:55 +0900 |
| commit | 2e9ecb611a7f698808add756b2ddcbdfcd8b7c8b (patch) | |
| tree | f5571391db8dfdc26581198d838dc18e62c141e0 | |
| parent | 6518f0d2bc40957802904c6236b04510b9bfb9f6 (diff) | |
test: be consistent about spelling `nonexistent'
Apparently most of the misspellings are my fault.
| -rwxr-xr-x | test/T360-symbol-hiding.sh | 2 | ||||
| -rwxr-xr-x | test/T560-lib-error.sh | 2 | ||||
| -rw-r--r-- | test/symbol-test.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 8fc4bdf6..d2b5d1f5 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh @@ -16,7 +16,7 @@ run_test(){ } output="A Xapian exception occurred opening database: Couldn't stat 'fakedb/.notmuch/xapian' -caught No chert database found at path \`./nonexistant'" +caught No chert database found at path \`./nonexistent'" mkdir -p fakedb/.notmuch diff --git a/test/T560-lib-error.sh b/test/T560-lib-error.sh index 828a44b7..6947aa83 100755 --- a/test/T560-lib-error.sh +++ b/test/T560-lib-error.sh @@ -202,7 +202,7 @@ test_begin_subtest "Xapian exception finding message" cat c_head - c_tail <<'EOF' | test_C ${MAIL_DIR} { notmuch_message_t *message = NULL; - stat = notmuch_database_find_message (db, "id:nonexistant", &message); + stat = notmuch_database_find_message (db, "id:nonexistent", &message); } EOF sed 's/^\(A Xapian exception [^:]*\):.*$/\1/' < OUTPUT > OUTPUT.clean diff --git a/test/symbol-test.cc b/test/symbol-test.cc index d979f832..f17ddc85 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -15,7 +15,7 @@ int main() { } try { - (void) new Xapian::WritableDatabase("./nonexistant", Xapian::DB_OPEN); + (void) new Xapian::WritableDatabase("./nonexistent", Xapian::DB_OPEN); } catch (const Xapian::Error &error) { printf("caught %s\n", error.get_msg().c_str()); return 0; |
