Add OrderedMap prototype

This commit is contained in:
2021-02-13 06:56:10 +01:00
parent 1e8405a6d6
commit c1a1b47aea
4 changed files with 87 additions and 1 deletions

View File

@ -0,0 +1,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