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
7c242ca4
Commit
7c242ca4
authored
Mar 06, 2015
by
Andrew Gibiansky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjusting test suite for 7.6.3
parent
9ba5acd5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Hspec.hs
Hspec.hs
+8
-0
No files found.
Hspec.hs
View file @
7c242ca4
...
...
@@ -336,7 +336,11 @@ evalTests = do
it
"evaluates directives"
$
do
":typ 3"
`
becomes
`
[
"3 :: forall a. Num a => a"
]
":k Maybe"
`
becomes
`
[
"Maybe :: * -> *"
]
#
if
MIN_VERSION_ghc
(
7
,
8
,
0
)
":in String"
`
pages
`
[
"type String = [Char]
\t
-- Defined in
\8216
GHC.Base
\8217
"
]
#
else
":in String"
`
pages
`
[
"type String = [Char]
\t
-- Defined in `GHC.Base'"
]
#
endif
parserTests
=
do
layoutChunkerTests
...
...
@@ -500,7 +504,11 @@ parseStringTests = describe "Parser" $ do
it
"breaks without data kinds"
$
parses
"data X = 3"
`
like
`
[
#
if
MIN_VERSION_ghc
(
7
,
8
,
0
)
ParseError
(
Loc
1
10
)
"Illegal literal in type (use DataKinds to enable): 3"
#
else
ParseError
(
Loc
1
10
)
"Illegal literal in type (use -XDataKinds to enable): 3"
#
endif
]
it
"parses statements after imports"
$
do
...
...
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