Skip to content

Commit

Permalink
Use Int64 instead of Int #158
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Sep 30, 2018
1 parent 0a56d96 commit 256c06d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog.md
Expand Up @@ -3,6 +3,7 @@
## 0.10.3.0

* Add support for anchors and aliases to Data.Yaml.Builder [#155](https://github.com/snoyberg/yaml/pull/155)
* Fix test suite for 32 bit machines [#158](https://github.com/snoyberg/yaml/issues/158)

## 0.10.2.0

Expand Down
5 changes: 3 additions & 2 deletions test/Data/YamlSpec.hs
Expand Up @@ -9,6 +9,7 @@ module Data.YamlSpec (main, spec) where

import qualified Text.Libyaml as Y
import qualified Data.ByteString.Char8 as B8
import Data.Int (Int64)

import Test.HUnit hiding (Test, path)

Expand Down Expand Up @@ -198,8 +199,8 @@ spec = do
go "0o123" (83 :: Int)
go "0xC" (12 :: Int)
go "0xc" (12 :: Int)
go "0xdeadBEEF" (3735928559 :: Int)
go "0xDEADBEEF" (3735928559 :: Int)
go "0xdeadBEEF" (3735928559 :: Int64)
go "0xDEADBEEF" (3735928559 :: Int64)
go "1.23015e+3" (1230.15 :: Scientific)
go "12.3015e+02" (1230.15 :: Scientific)
go "1230.15" (1230.15 :: Scientific)
Expand Down

0 comments on commit 256c06d

Please sign in to comment.