summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2024-11-05 19:39:16 +0100
committerEugen Wissner <belka@caraus.de>2024-11-05 19:39:16 +0100
commit6f7bb10a62163cd50f520687fe6300593530265c (patch)
treecb2f92058361a235e249d80f48011202f3c3b4fa /tests
parentfda4b4fce4aacacb08ef4caeaddd3cf9196a9b64 (diff)
downloadgraphql-6f7bb10a62163cd50f520687fe6300593530265c.tar.gz
Remove deprecated gql quasi quoter
Diffstat (limited to 'tests')
-rw-r--r--tests/Language/GraphQL/THSpec.hs24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/Language/GraphQL/THSpec.hs b/tests/Language/GraphQL/THSpec.hs
deleted file mode 100644
index 2858ab2..0000000
--- a/tests/Language/GraphQL/THSpec.hs
+++ /dev/null
@@ -1,24 +0,0 @@
-{- 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 QuasiQuotes #-}
-
-module Language.GraphQL.THSpec
- ( spec
- ) where
-
-import Language.GraphQL.TH (gql)
-import Test.Hspec (Spec, describe, it, shouldBe)
-
-spec :: Spec
-spec =
- describe "gql" $
- it "replaces CRNL with NL" $
- let expected = "line1\nline2\nline3"
- actual = [gql|
- line1
- line2
- line3
- |]
- in actual `shouldBe` expected