packages feed

asn1-encoding 0.9.0 → 0.9.1

raw patch · 2 files changed

+6/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

asn1-encoding.cabal view
@@ -1,5 +1,5 @@ Name:                asn1-encoding-Version:             0.9.0+Version:             0.9.1 Synopsis:            ASN1 data reader and writer in RAW, BER and DER forms Description:     ASN1 data reader and writer in raw form with supports for high level forms of ASN1 (BER, and DER).
tests/Tests.hs view
@@ -94,7 +94,11 @@         return $ normalizeDate $ Date y m d  normalizeDate :: Date -> Date-normalizeDate d = timeConvert (timeConvert d :: Elapsed)+normalizeDate origDate+    | y < 1951  = normalizeDate (Date (y + 50) m d)+    | otherwise = normalizedDate+  where+    normalizedDate@(Date y m d) = timeConvert (timeConvert origDate :: Elapsed)  instance Arbitrary TimeOfDay where     arbitrary = do