Skip to content

Commit

Permalink
Bump resolver to nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-leapyear committed Nov 15, 2021
1 parent af02b46 commit b355f94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
resolver: lts-18.6
resolver: nightly-2021-11-14

packages:
- ../http-common
- .

extra-deps:
- aeson-2.0.2.0
- io-streams-haproxy-1.0.1.0
- snap-core-1.0.4.2
- snap-server-1.1.2.0

flags:
http-streams:
Expand Down
3 changes: 2 additions & 1 deletion tests/TestSuite.hs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import Data.Aeson (
(.=),
)
import Data.Aeson.Encode.Pretty
import qualified Data.Aeson.KeyMap as KeyMap
import Data.Bits
import qualified Data.HashMap.Strict as Map
import Data.Maybe (fromJust)
Expand Down Expand Up @@ -746,7 +747,7 @@ testParsingJson1 =

x <- get url jsonHandler
let (Object o) = x
let (Just v) = Map.lookup "label" o
let (Just v) = KeyMap.lookup "label" o
let (String t) = v

assertEqual "Incorrect response" "Europe (EU27)" t
Expand Down

0 comments on commit b355f94

Please sign in to comment.