Skip to content

Commit cfbe159

Browse files
committed
WIP: Tests and redundant import
1 parent 6cb4760 commit cfbe159

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/Dependencies.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
module Ide.Plugin.Cabal.Dependencies (dependencyVersionHints, collectPackageDependencyVersions, dependencyVersionLens) where
55

66
import Data.Array ((!))
7-
import Data.ByteString (ByteString, singleton)
7+
import Data.ByteString (ByteString)
88
import Data.List
99
import qualified Data.Maybe as Maybe
1010
import qualified Data.Text as T

plugins/hls-cabal-plugin/test/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ codeLensTests = testGroup "Code Lens"
275275
runCabalTestCaseSession "Code Lens Test" "hover" $ do
276276
doc <- openDoc "hover-deps.cabal" "cabal"
277277
lenses <- getCodeLenses doc
278-
liftIO $ map (preview $ L.command . _Just . L.title) lenses @?= [Just "Refresh..."]
278+
liftIO $ map (preview $ L.command . _Just . L.title) lenses @?= [Just "4.19.2.0"]
279279
closeDoc doc
280280
dependencyVersionInlayHints =
281281
runCabalTestCaseSession "InlayHints tests" "hover" $ do

0 commit comments

Comments
 (0)