Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
153
Issues
153
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
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
haskell-gargantext
Commits
71fb5545
Commit
71fb5545
authored
Feb 09, 2018
by
Mael NICOLAS
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Eq instance for ZonedTime
parent
7e4cff2c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
package.yaml
package.yaml
+1
-0
Types.hs
src-test/Parsers/Types.hs
+6
-1
No files found.
package.yaml
View file @
71fb5545
...
...
@@ -134,6 +134,7 @@ tests:
-
gargantext
-
hspec
-
QuickCheck
-
quickcheck-instances
-
time
-
parsec
-
duckling
...
...
src-test/Parsers/Types.hs
View file @
71fb5545
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE StandaloneDeriving #-}
module
Parsers.Types
where
import
Gargantext.Prelude
import
Test.QuickCheck
import
Test.QuickCheck.Instances
()
import
Text.Parsec.Pos
import
Text.Parsec.Error
(
ParseError
(
..
),
Message
(
..
),
newErrorMessage
)
import
Text.Parsec.Error
(
ParseError
,
Message
(
..
),
newErrorMessage
)
import
Data.Time.LocalTime
(
ZonedTime
(
..
))
import
Data.Eq
(
Eq
(
..
))
deriving
instance
Eq
ZonedTime
instance
Arbitrary
Message
where
arbitrary
=
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