From 2e9ecb611a7f698808add756b2ddcbdfcd8b7c8b Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 8 Apr 2015 23:31:43 +0900 Subject: [PATCH] test: be consistent about spelling `nonexistent' Apparently most of the misspellings are my fault. --- test/T360-symbol-hiding.sh | 2 +- test/T560-lib-error.sh | 2 +- 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; -- 2.26.2