summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtests/parse.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/parse.sh b/tests/parse.sh
index 08a8dea..1150f28 100755
--- a/tests/parse.sh
+++ b/tests/parse.sh
@@ -37,6 +37,13 @@ plan_ $((\
$(printf '%s\n' "${misc_fmts}" | wc -l) \
))
+IFS='
+'
+
+for fmt in $(printf '%s\n' "${fmts}"); do
+ diag_ "${fmt}"
+done
+
run_test()
{
datetime="${1}"
@@ -54,9 +61,6 @@ run_test()
fi
}
-IFS='
-'
-
for time_fmt in ${time_fmts}; do
run_test "${time_fmt}"
for date_fmt in ${date_fmts}; do