diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2017-07-04 17:04:37 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2017-07-04 17:04:37 +0300 |
commit | 9dfd5bfbeb2af9142c11d4a0f9ed94ac44726268 (patch) | |
tree | 28fdde84f75c3cb6e1fb056aea3929713b3d8dc7 /mh/tests/fmtfunc.at | |
parent | 0603f581fc6048cabbb25a01ee912a77b0bac6d5 (diff) | |
download | mailutils-9dfd5bfbeb2af9142c11d4a0f9ed94ac44726268.tar.gz mailutils-9dfd5bfbeb2af9142c11d4a0f9ed94ac44726268.tar.bz2 |
Add more fmtfunc tests
Diffstat (limited to 'mh/tests/fmtfunc.at')
-rw-r--r-- | mh/tests/fmtfunc.at | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/mh/tests/fmtfunc.at b/mh/tests/fmtfunc.at index e3793c49f..bb81f8a01 100644 --- a/mh/tests/fmtfunc.at +++ b/mh/tests/fmtfunc.at @@ -590,4 +590,83 @@ X-Date: Mon, 3 Jul 2017 13:17:58 # FIXME: pretty +FMTFUNC([proper], +[%(proper{From}) +], +[From: Sergey <gray@gnu.org> + +text +], +[Sergey <gray@gnu.org> +]) + +FMTFUNC([friendly], +[%(friendly{From}) +%(friendly{To}) +], +[From: Sergey <gray@gnu.org> +To: root@example.com + +text +], +[Sergey +root@example.com +]) + +FMTFUNC([addr], +[%(addr{From}) +%(addr{To}) +], +[From: Sergey <gray@gnu.org> +To: root@example.com + +text +], +[gray@gnu.org +root@example.com +]) + +FMTFUNC([pers], +[from=%(pers{From}) +to=%(pers{To}) +], +[From: Sergey <gray@gnu.org> +To: root@example.com + +text +], +[from=Sergey +to= +]) + +# FIXME: note + +FMTFUNC([mbox], +[%(mbox{From}) +], +[From: Sergey <gray@gnu.org> + +], +[gray +]) + +# FIXME: mymbox + +FMTFUNC([host], +[%(host{From}) +], +[From: Sergey <gray@gnu.org> + +], +[gnu.org +]) + +# FIXME: nohost + +# FIXME: path + +# FIXME: ingrp + +# FIXME: gname + m4_popdef([FMTFUNC])
\ No newline at end of file |