on master help sign in
Merge pull request #222 from andreasabel/fixes

Some janitor work

commit8d69bbbe5ba16d7680828606663be5b926b7154d authorMichael Snoyman <michael@snoyman.com> dateWed 12 Jul 2023, 08:10 (3 years ago) parentf979768cf3fadf
4 files changed+7−3
stack.yaml+1−1 yaml/package.yaml+2 yaml/test/Data/YamlSpec.hs+2−2 yaml/yaml.cabal+2
stack.yaml+1−1
@@ -1,4 +1,4 @@
1−resolver: lts-20.25
1+resolver: nightly-2023-07-10
22
33flags:
44 yaml:
yaml/package.yaml+2
@@ -109,3 +109,5 @@ tests:
109109 - base-compat
110110 - temporary
111111 - raw-strings-qq
112+ build-tools:
113+ - hspec-discover
yaml/test/Data/YamlSpec.hs+2−2
@@ -822,9 +822,9 @@ casePreservesScientificPrecision = do
822822 -- However, it didn't work (and still doesn't work with aeson < 0.7)
823823 -- for two reasons:
824824 --
825− -- * We use 'Data.Text.Read.double', which is not as accurate as it
825+ -- - We use 'Data.Text.Read.double', which is not as accurate as it
826826 -- can be;
827− -- * Even if we used 'Data.Text.Read.rational' we would not get good
827+ -- - Even if we used 'Data.Text.Read.rational' we would not get good
828828 -- results, because of <https://github.com/bos/text/issues/34>.
829829 "x: 9.78159610558926e-5" `shouldDecode` object
830830 [ "x" .= D.Number (read "9.78159610558926e-5") ]
yaml/yaml.cabal+2
@@ -198,6 +198,8 @@ test-suite spec
198198 test
199199 ghc-options: -Wall -Wcompat -with-rtsopts=-K1K
200200 cpp-options: -DTEST
201+ build-tool-depends:
202+ hspec-discover:hspec-discover
201203 build-depends:
202204 HUnit
203205 , aeson >=0.11