persistent-sqlite 2.1.1.1 → 2.1.1.2
raw patch · 2 files changed
+7/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- persistent-sqlite.cabal +1/−1
- test/Spec.hs +6/−0
persistent-sqlite.cabal view
@@ -1,5 +1,5 @@ name: persistent-sqlite-version: 2.1.1.1+version: 2.1.1.2 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>
test/Spec.hs view
@@ -28,3 +28,9 @@ insert . Test $ read "2014-11-30 05:15:25.123" [Single x] <- rawSql "select strftime('%s%f',time) from test" [] liftIO $ x `shouldBe` Just ("141732452525.123" :: String)+ it "issue #339" $ asIO $ runSqlite ":memory:" $ do+ runMigration migrateAll+ now <- liftIO getCurrentTime+ tid <- insert $ Test now+ Just (Test now') <- get tid+ liftIO $ now' `shouldBe` now