Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
44d46e17
Commit
44d46e17
authored
Aug 29, 2019
by
Vaibhav Sagar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IHaskell.Test.Parser: fix test failure on GHC 8.8
parent
93bfa3a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Parser.hs
src/tests/IHaskell/Test/Parser.hs
+5
-0
No files found.
src/tests/IHaskell/Test/Parser.hs
View file @
44d46e17
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE CPP #-}
module
IHaskell.Test.Parser
(
testParser
)
where
module
IHaskell.Test.Parser
(
testParser
)
where
import
Prelude
import
Prelude
...
@@ -227,4 +228,8 @@ testParseString = describe "Parser" $ do
...
@@ -227,4 +228,8 @@ testParseString = describe "Parser" $ do
|]
)
>>=
(`
shouldBe
`
[
Located
2
(
Expression
"first"
),
Located
4
(
Expression
"second"
)])
|]
)
>>=
(`
shouldBe
`
[
Located
2
(
Expression
"first"
),
Located
4
(
Expression
"second"
)])
where
where
dataKindsError
=
ParseError
(
Loc
1
10
)
msg
dataKindsError
=
ParseError
(
Loc
1
10
)
msg
#
if
MIN_VERSION_ghc
(
8
,
8
,
0
)
msg
=
"Cannot parse data constructor in a data/newtype declaration:
\n
3"
#
else
msg
=
"Cannot parse data constructor in a data/newtype declaration: 3"
msg
=
"Cannot parse data constructor in a data/newtype declaration: 3"
#
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment