]> diplodocus.org Git - nmh/commitdiff
Remove extra arguments from two anno tests; the check() function now
authorKen Hornstein <kenh@pobox.com>
Sun, 28 Apr 2013 00:32:55 +0000 (20:32 -0400)
committerKen Hornstein <kenh@pobox.com>
Sun, 28 Apr 2013 00:32:55 +0000 (20:32 -0400)
complains about them.  Looks like they were always there.

test/anno/test-anno

index bdf9328..b329fa6 100755 (executable)
@@ -135,7 +135,7 @@ cat "${MH_TEST_DIR}/Mail/inbox/1" >>"$expected"
 anno 1 -component Nmh-test -nodate -text 'test of anno -list'
 run_test 'anno 1 -component Nmh-test -list' 'test of anno -list'
 # check -text
-check "$expected" "${MH_TEST_DIR}/Mail/inbox/1" "$actual"
+check "$expected" "${MH_TEST_DIR}/Mail/inbox/1"
 cp -f "${MH_TEST_DIR}/Mail/inbox/11" "${MH_TEST_DIR}/Mail/inbox/1"
 
 # check -list -number
@@ -144,7 +144,7 @@ cat "${MH_TEST_DIR}/Mail/inbox/1" >>"$expected"
 anno 1 -component Nmh-test -nodate -text 'test of anno -list -number'
 run_test 'anno 1 -component Nmh-test -list -number' \
          '1    test of anno -list -number'
-check "$expected" "${MH_TEST_DIR}/Mail/inbox/1" "$actual"
+check "$expected" "${MH_TEST_DIR}/Mail/inbox/1"
 cp -f "${MH_TEST_DIR}/Mail/inbox/11" "${MH_TEST_DIR}/Mail/inbox/1"
 
 # check -delete