Skip to content

Commit

Permalink
Fix test suite under GHC 7.10
Browse files Browse the repository at this point in the history
  • Loading branch information
bos committed Jan 10, 2015
1 parent f7bc900 commit f74427c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/Tests/Properties.hs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Data.Bits ((.&.))
import Data.Char (chr, isDigit, isHexDigit, isLower, isSpace, isUpper, ord)
import Data.Int (Int8, Int16, Int32, Int64)
import Data.Monoid (Monoid(..))
import Data.String (fromString)
import Data.String (IsString(fromString))
import Data.Text.Encoding.Error
import Data.Text.Foreign
import Data.Text.Internal.Encoding.Utf8
Expand Down Expand Up @@ -812,7 +812,7 @@ tl_hexadecimal m s ox =
p = if ox then "0x" else ""
n = getPositive m :: Int

isFloaty c = c `elem` "+-.0123456789eE"
isFloaty c = c `elem` ("+-.0123456789eE" :: String)

t_read_rational p tol (n::Double) s =
case p (T.pack (show n) `T.append` t) of
Expand Down
1 change: 0 additions & 1 deletion tests/cabal.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-- These flags help to speed up building the test suite.

documentation: False
executable-profiling: False
executable-stripping: False
flags: developer
library-profiling: False

0 comments on commit f74427c

Please sign in to comment.