Bug 19816: Regression tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 24 Jan 2019 17:27:28 +0000 (14:27 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 11 Feb 2019 13:19:11 +0000 (13:19 +0000)
commit41115fc79dfd16be62dd56e1946e0a2e08c6a2fc
tree117d21bb931773fea60544dfa49cfa4669ba98d8
parent491ad8fc3389be9db46eb8d42f03f78befd69e66
Bug 19816: Regression tests

This patch adds tests for the rfc3339 behaviour when dateonly => 1.

To test:
- Run:
  $ kshell
 k$ prove t/DateUtils.t
=> SUCCESS: Tests pass
- Apply this patch
- Run:
 k$ prove t/DateUtils.t
=> FAIL: dateonly is not implemented

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 7e69ab62a5ef3fbd350c6606d25b5ab6f6bc168e)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/DateUtils.t