summaryrefslogtreecommitdiffstats
path: root/tests/aux/tap-functions.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2022-03-19 21:25:10 (EDT)
committer P. J. McDermott <pj@pehjota.net>2022-03-19 21:36:41 (EDT)
commit84ecc332421e4749ec5a35bddc656dd854ebe16e (patch)
treed545cd5759c2dad454deccfa6bcf784ef58b31d1 /tests/aux/tap-functions.sh
parentcf9c057d273399f29eb0b86afa50294ad5d14d6d (diff)
downloadatsign-84ecc332421e4749ec5a35bddc656dd854ebe16e.zip
atsign-84ecc332421e4749ec5a35bddc656dd854ebe16e.tar.gz
atsign-84ecc332421e4749ec5a35bddc656dd854ebe16e.tar.bz2
datetime: Sanity check parsing results
Previously, "0000 1970-01-01" was parsed as 00:00:19 70-01-01. Fixes: not ok 614 - 0000 1970-01-01 FAIL: tests/parse.sh 614 - 0000 1970-01-01 # Failed test '0000 1970-01-01' # got: '-59958143981' # expected: '0' ok 615 - 1970/01/01 0000 PASS: tests/parse.sh 615 - 1970/01/01 0000 not ok 616 - 0000 1970/01/01 FAIL: tests/parse.sh 616 - 0000 1970/01/01 # Failed test '0000 1970/01/01' # got: '-59958143981' # expected: '0'
Diffstat (limited to 'tests/aux/tap-functions.sh')
0 files changed, 0 insertions, 0 deletions