utc 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+1/−10 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Data/UTC/Internal/Test.hs +0/−9
- utc.cabal +1/−1
Data/UTC/Internal/Test.hs view
@@ -12,7 +12,6 @@ = testGroup "Data.UTC.Internal" $ [ testYearMonthDayToDays , testYearToDays- , testYearToDaysAndDaysToYear , testDaysToYearMonthDay , testYearMonthDayToDaysAndDaysToYearMonthDay @@ -56,14 +55,6 @@ , testProperty ("yearMonthDayToDays (4,3,3) === 366 + 365 + 365 + 365 + 31 + 29 + 2") $ yearMonthDayToDays (4,3,3) === 366 + 365 + 365 + 365 + 31 + 29 + 2- ]--testYearToDaysAndDaysToYear :: Test-testYearToDaysAndDaysToYear- = testGroup "yearToDays <-> daysToYear"- $ [ testProperty "yearToDays (daysToYear x) - x === 0"- $ forAll (choose (0, 146463))- $ \x-> (x - yearToDays (daysToYear x)) `div` 366 === 0 ] testYearToDays :: Test
utc.cabal view
@@ -1,5 +1,5 @@ name: utc-version: 0.1.0.0+version: 0.1.0.1 stability: experimental synopsis: A pragmatic time and date library. description: This library aims to supply you with common