Bugzilla – Attachment 14402 Details for
Bug 9211
days_between wrong behaviour
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9211 - days_between wrong behaviour - Followup - Add Test to Calendar.t
Bug-9211---daysbetween-wrong-behaviour---Followup-.patch (text/plain), 878 bytes, created by
Paul Poulain
on 2013-01-03 16:54:44 UTC
(
hide
)
Description:
Bug 9211 - days_between wrong behaviour - Followup - Add Test to Calendar.t
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2013-01-03 16:54:44 UTC
Size:
878 bytes
patch
obsolete
>From 176b39412e913b6ee6a22aad51fb231409548f79 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 7 Dec 2012 12:09:27 -0500 >Subject: [PATCH] Bug 9211 - days_between wrong behaviour - Followup - Add > Test to Calendar.t > >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >--- > t/Calendar.t | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/t/Calendar.t b/t/Calendar.t >index 42b8342..3b86851 100755 >--- a/t/Calendar.t >+++ b/t/Calendar.t >@@ -90,6 +90,10 @@ my $daycount = $cal->days_between( $test_dt, $later_dt ); > cmp_ok( $daycount->in_units('days'), > '==', 48, 'days_between calculates correctly' ); > >+my $daycount = $cal->days_between( $later_dt, $test_dt ); >+cmp_ok( $daycount->in_units('days'), >+ '==', 48, 'days_between calculates correctly with dates reversed' ); >+ > my $ret; > > $cal->set_daysmode('Calendar'); >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9211
:
13886
|
13945
|
13946
|
14400
|
14401
|
14402
|
14403