+# check m_getfld() handling of fields with trailing whitespace
+# Even though header field names aren't supposed to have spaces (RFC
+# 28220, m_getfld () trims trailing whitespace from them.
+cat >`mhpath new` <<EOF
+Date : Sun, 18 Dec 2005 00:52:39 +0100
+From : foo@example.edu
+To: bar@example.edu
+Subject: test
+EOF
+run_test 'scan last' ' 12 12/18 foo@example.edu test'
+
+