aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-09-22 09:33:39 -0700
committerAlec Theriault <alec.theriault@gmail.com>2018-09-22 09:34:10 -0700
commit20623767951d24e96985d817f798f7fddb1f5c60 (patch)
treee17d2e6d4878cc77d75b23db26b4641873b2e121
parent9c5f68605aee048a061ea7b4074b59a0a0371c4f (diff)
Accept failing tests
Also silence orphan warnings.
-rw-r--r--haddock-test/src/Test/Haddock/Xhtml.hs3
-rw-r--r--hoogle-test/ref/Bug722/test.txt2
2 files changed, 2 insertions, 3 deletions
diff --git a/haddock-test/src/Test/Haddock/Xhtml.hs b/haddock-test/src/Test/Haddock/Xhtml.hs
index 69361f7c..8bfc973f 100644
--- a/haddock-test/src/Test/Haddock/Xhtml.hs
+++ b/haddock-test/src/Test/Haddock/Xhtml.hs
@@ -1,6 +1,6 @@
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StandaloneDeriving #-}
-
+{-# OPTIONS_GHC -fno-warn-orphans #-}
module Test.Haddock.Xhtml
( Xml(..)
@@ -22,7 +22,6 @@ newtype Xml = Xml
} deriving Eq
--- TODO: Find a way to avoid warning about orphan instances.
deriving instance Eq Element
deriving instance Eq Content
deriving instance Eq CData
diff --git a/hoogle-test/ref/Bug722/test.txt b/hoogle-test/ref/Bug722/test.txt
index 96f3747b..2f44ed8f 100644
--- a/hoogle-test/ref/Bug722/test.txt
+++ b/hoogle-test/ref/Bug722/test.txt
@@ -8,7 +8,7 @@ module Bug722
class Foo a
(!@#) :: Foo a => a -> a -> a
infixl 4 !@#
-type family &* :: * -> * -> *
+type family (&*) :: * -> * -> *
infixr 3 &*
data a :-& b
(:^&) :: a -> b -> (:-&) a b