on master help sign in
Use Int64 instead of Int #158
commit256c06dd7ddcd60018d0b02a06f991413fe2d80b authorMichael Snoyman <michael@snoyman.com> dateSun 30 Sep 2018, 13:56 (8 years ago) parent0a56d96
2 files changed+4−2
ChangeLog.md+1 test/Data/YamlSpec.hs+3−2
ChangeLog.md+1
@@ -3,6 +3,7 @@
33## 0.10.3.0
44
55* Add support for anchors and aliases to Data.Yaml.Builder [#155](https://github.com/snoyberg/yaml/pull/155)
6+* Fix test suite for 32 bit machines [#158](https://github.com/snoyberg/yaml/issues/158)
67
78## 0.10.2.0
89
test/Data/YamlSpec.hs+3−2
@@ -9,6 +9,7 @@ module Data.YamlSpec (main, spec) where
99
1010import qualified Text.Libyaml as Y
1111import qualified Data.ByteString.Char8 as B8
12+import Data.Int (Int64)
1213
1314import Test.HUnit hiding (Test, path)
1415
@@ -198,8 +199,8 @@ spec = do
198199 go "0o123" (83 :: Int)
199200 go "0xC" (12 :: Int)
200201 go "0xc" (12 :: Int)
201− go "0xdeadBEEF" (3735928559 :: Int)
202− go "0xDEADBEEF" (3735928559 :: Int)
202+ go "0xdeadBEEF" (3735928559 :: Int64)
203+ go "0xDEADBEEF" (3735928559 :: Int64)
203204 go "1.23015e+3" (1230.15 :: Scientific)
204205 go "12.3015e+02" (1230.15 :: Scientific)
205206 go "1230.15" (1230.15 :: Scientific)