mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 05:34:11 +01:00
test: be consistent about spelling `nonexistent'
Apparently most of the misspellings are my fault.
This commit is contained in:
parent
6518f0d2bc
commit
2e9ecb611a
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue