Skip to content

Commit

Permalink
fixup! send-email: teach git send-email option to translate aliases
Browse files Browse the repository at this point in the history
Two of the tests added for --translate-aliases did not set the
prerequisites, so systems which build without perl support will fail the
tests. Fix this.

Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
jacob-keller authored and gitster committed Aug 16, 2024
1 parent f026ce7 commit 44f3460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t9001-send-email.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2202,7 +2202,7 @@ test_translate_aliases '--translate-aliases gnus format' \
(define-mail-alias "chloe" "chloe@example.com")
EOF

test_expect_success '--translate-aliases passes valid addresses through' '
test_expect_success $PREREQ '--translate-aliases passes valid addresses through' '
cat >expect <<-\EOF &&
Other <o@example.com>
EOF
Expand All @@ -2213,7 +2213,7 @@ test_expect_success '--translate-aliases passes valid addresses through' '
test_cmp expect actual
'

test_expect_success '--translate-aliases passes unknown aliases through' '
test_expect_success $PREREQ '--translate-aliases passes unknown aliases through' '
cat >expect <<-\EOF &&
blargh
EOF
Expand Down

0 comments on commit 44f3460

Please sign in to comment.