summaryrefslogtreecommitdiff
path: root/tests/Language/GraphQL/Execute/OrderedMapSpec.hs
blob: 35d311c3f414b1a3c7e44b38ef42e76d00562b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{- This Source Code Form is subject to the terms of the Mozilla Public License,
   v. 2.0. If a copy of the MPL was not distributed with this file, You can
   obtain one at https://mozilla.org/MPL/2.0/. -}

{-# LANGUAGE OverloadedStrings #-}
module Language.GraphQL.Execute.OrderedMapSpec
    ( spec
    ) where

import Language.GraphQL.Execute.OrderedMap (OrderedMap)
import Test.Hspec (Spec, describe, it, shouldSatisfy)

spec :: Spec
spec =
    describe "OrderedMap" $
        it "creates an empty map" $
            (mempty :: OrderedMap Int) `shouldSatisfy` null