mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-12-28 04:57:14 +03:00
Test UTF-8 templates
This commit is contained in:
parent
95c6996599
commit
784c8ee7e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user