From b5ed82aa1245f10d33873fc866dda8b23b23673a Mon Sep 17 00:00:00 2001 From: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com> Date: Wed, 10 Jan 2024 14:04:10 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> --- test/helper/sending.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/helper/sending.bash b/test/helper/sending.bash index 45050f10..529e36aa 100644 --- a/test/helper/sending.bash +++ b/test/helper/sending.bash @@ -136,12 +136,12 @@ function _send_email_and_get_id() { export "${1:?Mail ID must be set for _send_email_and_get_id}" # Get a "reference" to the content of the variable denoted by ${1} so we can manipulate the content local -n ID_ENV_VAR_REF=${1:?} - # Prepare the message ID header here because will will shift away ${1} later + # Prepare the message ID header here because we will shift away ${1} later local MID="<${1}@dms-tests>" # Get rid of ${1} so only the arguments for swaks remain shift 1 - local QUEUE_ID MESSAGE_ID + local QUEUE_ID # The unique ID Postfix (and other services) use may be different in length # on different systems (e.g. amd64 (11) vs aarch64 (10)). Hence, we use a # range to safely capture it.