Test UTF-8 templates

This commit is contained in:
Nikita Volkov 2014-12-27 06:30:38 +03:00
parent 95c6996599
commit 784c8ee7e1

View File

@ -12,6 +12,12 @@ import qualified SlaveThread
main =
hspec $ do
context "UTF-8 templates" $ do
it "encode properly" $ do
flip shouldBe (Right (Just (Identity ("Ёжик" :: Text)))) =<< do
session $ H.tx Nothing $ H.maybeTx $ [H.stmt| SELECT 'Ёжик' |]
context "Bug" $ do
context "Unhandled transaction conflict" $ do