test/emacs-large-search-buffer: correct typo (EXPEXTED -> EXPECTED)

introduced in commit 3b24b396
This commit is contained in:
Pieter Praet 2012-01-23 05:26:10 +01:00 committed by David Bremner
parent a04642043f
commit 80771e3c76

View file

@ -19,25 +19,25 @@ done
notmuch new > /dev/null notmuch new > /dev/null
test_begin_subtest "Ensure that emacs doesn't drop results" test_begin_subtest "Ensure that emacs doesn't drop results"
notmuch search '*' > EXPEXTED notmuch search '*' > EXPECTED
sed -i -e 's/^thread:[0-9a-f]* //' -e 's/;//' -e 's/xx*/[BLOB]/' EXPEXTED sed -i -e 's/^thread:[0-9a-f]* //' -e 's/;//' -e 's/xx*/[BLOB]/' EXPECTED
echo 'End of search results.' >> EXPEXTED echo 'End of search results.' >> EXPECTED
test_emacs '(notmuch-search "*") test_emacs '(notmuch-search "*")
(notmuch-test-wait) (notmuch-test-wait)
(test-output)' (test-output)'
sed -i -e s', *, ,g' -e 's/xxx*/[BLOB]/g' OUTPUT sed -i -e s', *, ,g' -e 's/xxx*/[BLOB]/g' OUTPUT
test_expect_equal_file OUTPUT EXPEXTED test_expect_equal_file OUTPUT EXPECTED
test_begin_subtest "Ensure that emacs doesn't drop error messages" test_begin_subtest "Ensure that emacs doesn't drop error messages"
test_emacs '(notmuch-search "--this-option-does-not-exist") test_emacs '(notmuch-search "--this-option-does-not-exist")
(notmuch-test-wait) (notmuch-test-wait)
(test-output)' (test-output)'
cat <<EOF >EXPEXTED cat <<EOF >EXPECTED
Error: Unexpected output from notmuch search: Error: Unexpected output from notmuch search:
Unrecognized option: --this-option-does-not-exist Unrecognized option: --this-option-does-not-exist
End of search results. (process returned 1) End of search results. (process returned 1)
EOF EOF
test_expect_equal_file OUTPUT EXPEXTED test_expect_equal_file OUTPUT EXPECTED
test_done test_done