Remove lint
This commit is contained in:
+1
-1
@@ -6,5 +6,5 @@ machine:
|
|||||||
version: 7.8.3
|
version: 7.8.3
|
||||||
test:
|
test:
|
||||||
post:
|
post:
|
||||||
- cabal exec hlint src/*.hs test/**/*.hs
|
- cabal exec hlint -- -X QuasiQuotes src/*.hs test/**/*.hs
|
||||||
- cabal exec packdeps postgrest.cabal
|
- cabal exec packdeps postgrest.cabal
|
||||||
|
|||||||
@@ -15,12 +15,10 @@ testSet = do
|
|||||||
clearTable "items" >> clearTable "no_pk"
|
clearTable "items" >> clearTable "no_pk"
|
||||||
createItems 15
|
createItems 15
|
||||||
pool <- H.acquirePool pgSettings testPoolOpts
|
pool <- H.acquirePool pgSettings testPoolOpts
|
||||||
void . liftIO $ H.session pool $ H.tx Nothing $ do
|
void . liftIO $ H.session pool $ H.tx Nothing $
|
||||||
mapM_ H.unitEx $ map (uncurry insertNoPk) [
|
mapM_ (H.unitEx . uncurry insertNoPk) [
|
||||||
("lick", "Fun")
|
("lick", "Fun"), ("trick", "funky")
|
||||||
, ("trick", "funky")
|
, ("barb", "foo"), ("BARD", "FOOD")
|
||||||
, ("barb", "foo")
|
|
||||||
, ("BARD", "FOOD")
|
|
||||||
]
|
]
|
||||||
|
|
||||||
where
|
where
|
||||||
|
|||||||
Reference in New Issue
Block a user