]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
test: Fix message when skipping test_expect_equal* tests
[notmuch] / test / test-lib.sh
index 966b2dcfd64ab9975171c39c1959fb10ae5941a2..b1b0db89602838e78c0d9577cd205842c7835bfe 100755 (executable)
@@ -449,7 +449,7 @@ test_expect_equal ()
 
        output="$1"
        expected="$2"
-       if ! test_skip "$@"
+       if ! test_skip "$test_subtest_name"
        then
                if [ "$output" = "$expected" ]; then
                        test_ok_ "$test_subtest_name"
@@ -472,7 +472,7 @@ test_expect_equal_file ()
 
        output="$1"
        expected="$2"
-       if ! test_skip "$@"
+       if ! test_skip "$test_subtest_name"
        then
                if diff -q "$expected" "$output" >/dev/null ; then
                        test_ok_ "$test_subtest_name"