Skip to content

Commit 22c411f

Browse files
committed
Tweak test for compat. with GHC 9.0.1
1 parent d9b20ee commit 22c411f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ghcide/test/data/THLoading/hie.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cradle: {direct: {arguments: ["-Wmissing-signatures", "-package template-haskell", "THA", "THB", "A", "B"]}}
1+
cradle: {direct: {arguments: ["-package template-haskell", "THA", "THB", "A", "B"]}}

ghcide/test/exe/Main.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4061,7 +4061,7 @@ thLoadingTest :: TestTree
40614061
thLoadingTest = testCase "Loading linkables" $ runWithExtraFiles "THLoading" $ \dir -> do
40624062
let thb = dir </> "THB.hs"
40634063
_ <- openDoc thb "haskell"
4064-
expectDiagnostics [ ( thb, [(DsWarning, (4, 0), "Top-level binding with no type signature: a :: ()")] ) ]
4064+
expectNoMoreDiagnostics 1
40654065

40664066

40674067
-- | test that TH is reevaluated on typecheck

0 commit comments

Comments
 (0)