aboutsummaryrefslogtreecommitdiff
path: root/test/T490-parse-time-string.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/T490-parse-time-string.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/T490-parse-time-string.sh')
-rwxr-xr-xtest/T490-parse-time-string.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/T490-parse-time-string.sh b/test/T490-parse-time-string.sh
index d1c70cfa..f89755ed 100755
--- a/test/T490-parse-time-string.sh
+++ b/test/T490-parse-time-string.sh
@@ -4,13 +4,11 @@ test_description="date/time parser module"
# Sanity/smoke tests for the date/time parser independent of notmuch
-_date ()
-{
+_date () {
date -d "$*" +%s
}
-_parse_time ()
-{
+_parse_time () {
${TEST_DIRECTORY}/parse-time --format=%s "$*"
}