packages feed

hasql-postgres 0.6.0 → 0.6.1

raw patch · 2 files changed

+18/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

hasql-postgres.cabal view
@@ -1,7 +1,7 @@ name:   hasql-postgres version:-  0.6.0+  0.6.1 synopsis:   A "PostgreSQL" backend for the "hasql" library description:@@ -107,6 +107,8 @@     library   main-is:               Main.hs+  other-modules:+    Hasql.Postgres.TemplateConverterTests   ghc-options:     -threaded     "-with-rtsopts=-N"
+ library-tests/Hasql/Postgres/TemplateConverterTests.hs view
@@ -0,0 +1,15 @@+{-# OPTIONS_GHC -F -pgmF htfpp #-}+module Hasql.Postgres.TemplateConverterTests where++import Test.Framework+import Hasql.Postgres.Prelude+import qualified Data.Text.Encoding+import qualified Hasql.Postgres.TemplateConverter+++test_convert =+  assertEqual+    (Right "asdf $1 \"'\\\"?'\" d 2$2$3")+    (Hasql.Postgres.TemplateConverter.convert "asdf ? \"'\\\"?'\" d 2??")+  +