diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-12-03 20:41:40 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-12-03 20:41:40 +0100 |
| commit | 131576e56cb4981938320569dfcf1ca814d8a42a (patch) | |
| tree | 5e46d13f22aa9a0bdd672f3d24e1f8961de5f010 /tests/Language/GraphQL/ClassSpec.hs | |
| parent | c95a5fcd610e3fb816058e8341caf774686f9c82 (diff) | |
| download | graphql-spice-131576e56cb4981938320569dfcf1ca814d8a42a.tar.gz | |
Move gql to Language.GraphQL.TH
Diffstat (limited to 'tests/Language/GraphQL/ClassSpec.hs')
| -rw-r--r-- | tests/Language/GraphQL/ClassSpec.hs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tests/Language/GraphQL/ClassSpec.hs b/tests/Language/GraphQL/ClassSpec.hs index 758b913..7744f10 100644 --- a/tests/Language/GraphQL/ClassSpec.hs +++ b/tests/Language/GraphQL/ClassSpec.hs @@ -5,6 +5,7 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE TemplateHaskell #-} + module Language.GraphQL.ClassSpec ( spec ) where @@ -18,7 +19,6 @@ import Language.GraphQL.Class , ToGraphQL(..) , deriveFromGraphQL , deriveToGraphQL - , gql ) import Test.Hspec (Spec, describe, it, shouldBe) import qualified Data.HashMap.Strict as HashMap @@ -161,14 +161,3 @@ spec = do let given = Type.Enum "TWO_FIELD_ENUM_2" expected = TWO_FIELD_ENUM_2 in fromGraphQL given `shouldBe` Just expected - - describe "gql" $ - it "replaces CRNL with NL" $ - let expected :: Text - expected = "line1\nline2\nline3" - actual = [gql|
- line1
- line2
- line3
- |] - in actual `shouldBe` expected |
