Skip to content

Commit 501b8f9

Browse files
committed
Fix compiler warning that only shows up in CI
More argument for #693, in my opinion
1 parent 37da7ab commit 501b8f9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/functional/FunctionalCodeAction.hs

-4
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,6 @@ hlintTests = testGroup "hlint suggestions" [
132132
runHlintSession subdir =
133133
failIfSessionTimeout . runSession hlsCommand fullCaps ("test/testdata/hlint" </> subdir)
134134

135-
noHlintDiagnostics :: [Diagnostic] -> Assertion
136-
noHlintDiagnostics diags =
137-
Just "hlint" `notElem` map (^. L.source) diags @? "There are no hlint diagnostics"
138-
139135
testHlintDiagnostics doc = do
140136
diags <- waitForDiagnosticsFromSource doc "hlint"
141137
liftIO $ length diags > 0 @? "There are hlint diagnostics"

0 commit comments

Comments
 (0)