Skip to content

Commit 3c4bf42

Browse files
committed
Test parsing of REAL as Double
1 parent a7cf4d7 commit 3c4bf42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Test/Connector.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ testPostgreSQL p = do
167167
supported "SMALLINT" (1 :: Int)
168168
supported "INTEGER" (1 :: Int)
169169
supported "BIGINT" (1 :: Int)
170-
supported "REAL" (1 :: Int)
170+
supported "REAL" (1.0 :: Double)
171171
supported "DOUBLE PRECISION" (1.5 :: Double)
172172
supported "SMALLSERIAL" (1 :: Int)
173173
supported "SERIAL" (1 :: Int)

0 commit comments

Comments
 (0)