Skip to content

Commit

Permalink
Merge pull request #222 from andreasabel/fixes
Browse files Browse the repository at this point in the history
Some janitor work
  • Loading branch information
snoyberg authored Jul 12, 2023
2 parents f979768 + cf3fadf commit 8d69bbb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-20.25
resolver: nightly-2023-07-10

flags:
yaml:
Expand Down
2 changes: 2 additions & 0 deletions yaml/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,5 @@ tests:
- base-compat
- temporary
- raw-strings-qq
build-tools:
- hspec-discover
4 changes: 2 additions & 2 deletions yaml/test/Data/YamlSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -822,9 +822,9 @@ casePreservesScientificPrecision = do
-- However, it didn't work (and still doesn't work with aeson < 0.7)
-- for two reasons:
--
-- * We use 'Data.Text.Read.double', which is not as accurate as it
-- - We use 'Data.Text.Read.double', which is not as accurate as it
-- can be;
-- * Even if we used 'Data.Text.Read.rational' we would not get good
-- - Even if we used 'Data.Text.Read.rational' we would not get good
-- results, because of <https://github.com/bos/text/issues/34>.
"x: 9.78159610558926e-5" `shouldDecode` object
[ "x" .= D.Number (read "9.78159610558926e-5") ]
Expand Down
2 changes: 2 additions & 0 deletions yaml/yaml.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ test-suite spec
test
ghc-options: -Wall -Wcompat -with-rtsopts=-K1K
cpp-options: -DTEST
build-tool-depends:
hspec-discover:hspec-discover
build-depends:
HUnit
, aeson >=0.11
Expand Down

0 comments on commit 8d69bbb

Please sign in to comment.