mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: Fix message when skipping test_expect_equal* tests
For these types of tests, the test name is previously recorded in a variable, not passed to the test function, so pass this variable to test_skip.
This commit is contained in:
parent
22af786838
commit
5ae1b9c328
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue