aboutsummaryrefslogtreecommitdiff
path: root/test/test-lib-common.sh
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2021-05-15 15:47:40 -0500
committerDavid Bremner <david@tethera.net>2021-05-17 07:28:01 -0300
commit4561f694e94aff47e7065186c4efaf2c6b010a41 (patch)
tree22242abad6b63e270e64d268419313413710871e /test/test-lib-common.sh
parent645bea13cb204108fd520010afbba25d0d6a8693 (diff)
test: more style fixes
In order to fit the git coding style. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'test/test-lib-common.sh')
-rw-r--r--test/test-lib-common.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh
index 2f7950ac..ebbf4cdf 100644
--- a/test/test-lib-common.sh
+++ b/test/test-lib-common.sh
@@ -105,8 +105,7 @@ fi
gen_msg_cnt=0
gen_msg_filename=""
gen_msg_id=""
-generate_message ()
-{
+generate_message () {
# This is our (bash-specific) magic for doing named parameters
local -A template="($@)"
local additional_headers
@@ -225,8 +224,7 @@ EOF
#
# All of the arguments and return values supported by generate_message
# are also supported here, so see that function for details.
-add_message ()
-{
+add_message () {
generate_message "$@" &&
notmuch new > /dev/null
}