Skip to content

Commit dcc5d94

Browse files
committed
Fix flaky typecheck-all-parents-of-interest test
1 parent ff1d918 commit dcc5d94

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ghcide/test/exe/Main.hs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,10 @@ diagnosticTests = testGroup "diagnostics"
743743

744744
-- Open A and edit to fix the type error
745745
adoc <- createDoc aPath "haskell" aSource
746+
expectDiagnostics
747+
[("A.hs", [(DsError, (5, 4), "Couldn't match expected type 'Int' with actual type 'Bool'")])
748+
]
749+
746750
changeDoc adoc [TextDocumentContentChangeEvent Nothing Nothing $
747751
T.unlines ["module A where", "import B", "x :: Bool", "x = y"]]
748752

0 commit comments

Comments
 (0)