From 42b00f04f4e0a8996b903e40ce07f99f73c13402 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 27 Dec 2008 16:29:46 +0000 Subject: [PATCH] Added a test for negative date differences svn: r11522 --- src/gen/lib/test/date_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gen/lib/test/date_test.py b/src/gen/lib/test/date_test.py index 82becd0ef..4c94db603 100644 --- a/src/gen/lib/test/date_test.py +++ b/src/gen/lib/test/date_test.py @@ -358,6 +358,7 @@ def suite2(): ("Date(2000,1,1) - Date(1999,2,1)", "Span(0, 11, 0)"), ("Date(2000,1,1) - Date(1999,12,1)", "Span(0, 1, 0)"), ("Date(2007, 12, 23) - Date(1963, 12, 4)", "Span(44, 0, 19)"), + ("Date(1963, 12, 4) - Date(2007, 12, 23)", "Span(-44, 0, -19)"), ] suite = unittest.TestSuite() count = 1