Skip to content

Commit c6c1f3f

Browse files
committed
Fix: tests buildability
1 parent 7bd5261 commit c6c1f3f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: example/Main.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
module Main where
22

3+
import Data.Char
34
import Data.Text (Text)
45
import Data.Time
56
import Database.PostgreSQL.Query
6-
import Text.Inflections
77

88
-- | Example enum type to check out how 'derivePgEnum' works
99
data Species
1010
= Dog
1111
| Cat
1212
| Snake
1313

14-
derivePgEnum toUnderscore ''Species
14+
derivePgEnum (map toLower) ''Species
1515

1616
-- | Example structure to check out how 'deriveFromRow' works
1717
data AnimalInfo = AnimalInfo

Diff for: postgresql-query.cabal

-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ test-suite example
145145
, TemplateHaskell
146146

147147
build-depends: base
148-
, inflections
149148
, postgresql-query
150149
, text
151150
, time

0 commit comments

Comments
 (0)