Skip to content

Commit

Permalink
Keep tests backwards-compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-leapyear committed Nov 18, 2021
1 parent 86cd7f9 commit 47043e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/TestSuite.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
-- available to you by its authors as open source software: you can
-- redistribute it and/or modify it under a BSD licence.
--
{-# LANGUAGE CPP #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}

Expand Down Expand Up @@ -40,9 +41,12 @@ import Data.Aeson (
(.=),
)
import Data.Aeson.Encode.Pretty
#if MIN_VERSION_aeson(2,0,0)
import qualified Data.Aeson.KeyMap as KeyMap
#else
import qualified Data.HashMap.Strict as KeyMap
#endif
import Data.Bits
import qualified Data.HashMap.Strict as Map
import Data.Maybe (fromJust)
import Data.Monoid
import Data.String
Expand Down

0 comments on commit 47043e3

Please sign in to comment.