Subject: | gap() bug leads to an abuts() bug |
Looks like I stumbled into a gap() bug which also causes abuts() to be
wrong:
http://github.com/jhannah/date-range/commit/d95a2d
I'm working on a patch now. If you want to grant me PAUSE CO-MAINT I can
push a corrected version up when ready.
j
jhannah@cac-dev:~/src/date-range> perl -Ilib t/01.t
1..57
ok 1 - Can't create a range with no dates
ok 2 - Can't create a range with one date
ok 3 - Can't create a range with three dates
...
ok 53 - Abuts M/J - no
ok 54 - Abuts M/F - yes
ok 55 - Abuts M/M - no
not ok 56 - gap()
# Failed test 'gap()'
# at t/01.t line 132.
not ok 57 - Abuts r1/r2 - no
# Failed test 'Abuts r1/r2 - no'
# at t/01.t line 134.
# Looks like you failed 2 tests of 57.