test: be consistent about spelling `nonexistent'

Apparently most of the misspellings are my fault.
This commit is contained in:
David Bremner 2015-04-08 23:31:43 +09:00
parent 6518f0d2bc
commit 2e9ecb611a
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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;