diff options
author | Dmitry Kurochkin <dmitry.kurochkin@gmail.com> | 2011-06-28 08:45:02 +0400 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2011-06-28 15:06:47 -0700 |
commit | e4fc21e88bfde65a3523d08e380e5bcccdcad9a1 (patch) | |
tree | debc32ba7fe33b3f2d738d7f2f55325437ce74aa /test/emacs | |
parent | 6b17da10e4c5ef774f1fdecdb972951c6dfd60c5 (diff) |
test: fix argument order of test_expect_equal_file in few tests
Few Emacs tests had test_expect_equal_file arguments in the wrong
order: the first argument should be the test output and the
second one should be the expected.
Diffstat (limited to 'test/emacs')
-rwxr-xr-x | test/emacs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -198,12 +198,12 @@ test_expect_equal_file OUTPUT EXPECTED test_begin_subtest "Save attachment from within emacs using notmuch-show-save-attachments" # save as archive to test that Emacs does not re-compress .gz echo ./attachment1.gz | test_emacs '(notmuch-show "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com") (notmuch-show-save-attachments)' > /dev/null 2>&1 -test_expect_equal_file "$EXPECTED/attachment" attachment1.gz +test_expect_equal_file attachment1.gz "$EXPECTED/attachment" test_begin_subtest "Save attachment from within emacs using notmuch-show-save-part" # save as archive to test that Emacs does not re-compress .gz echo ./attachment2.gz | test_emacs '(notmuch-show-save-part "id:cf0c4d610911171136h1713aa59w9cf9aa31f052ad0a@mail.gmail.com" 5)' > /dev/null 2>&1 -test_expect_equal_file "$EXPECTED/attachment" attachment2.gz +test_expect_equal_file attachment2.gz "$EXPECTED/attachment" test_begin_subtest "View raw message within emacs" first_line=$(head -n1 $EXPECTED/raw-message-cf0c4d-52ad0a) |