File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,13 @@ suggestionsTests =
170
170
171
171
waitForAllProgressDone
172
172
-- hlint will report a parse error if PatternSynonyms is enabled
173
+ expectNoMoreDiagnostics 3 doc " hlint"
174
+ , knownBrokenForHlintOnRawGhc " [#2280] maybe hlint is ignoring pragmas" $
175
+ testCase " hlint should not warn about redundant irrefutable pattern with LANGUAGE Strict" $ runHlintSession " " $ do
176
+ doc <- openDoc " StrictDo.hs" " haskell"
177
+
178
+ waitForAllProgressDone
179
+
173
180
expectNoMoreDiagnostics 3 doc " hlint"
174
181
]
175
182
where
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ goldenTestWithEdit fp tc line col =
87
87
, _end = Position (length lns + 1 ) 1
88
88
}
89
89
waitForAllProgressDone -- cradle
90
+ waitForAllProgressDone
90
91
alt <- liftIO $ T. readFile (fp <.> " error.hs" )
91
92
void $ applyEdit doc $ TextEdit theRange alt
92
93
changeDoc doc [TextDocumentContentChangeEvent (Just theRange) Nothing alt]
You can’t perform that action at this time.
0 commit comments