Skip to content

Commit 0e69f46

Browse files
committed
update TypeLenses test/data dirname
1 parent 59d56bc commit 0e69f46

21 files changed

+3
-3
lines changed

ghcide/test/exe/InlayHintTests.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ whereInlayHintsTests = testGroup "add signature for where clauses"
117117

118118
editTest :: String -> TestTree
119119
editTest file =
120-
testWithDummyPlugin (file <> " (InlayHint EditText)") (mkIdeTestFs [copyDir "local-sig-lens"]) $ do
120+
testWithDummyPlugin (file <> " (InlayHint EditText)") (mkIdeTestFs [copyDir "local-sig-inlay-hints"]) $ do
121121
doc <- openDoc (file ++ ".hs") "haskell"
122122
executeAllHints doc globalRange
123123
real <- documentContents doc
@@ -127,7 +127,7 @@ editTest file =
127127

128128
hintTest :: String -> ([InlayHint] -> Assertion) -> TestTree
129129
hintTest file assert =
130-
testWithDummyPlugin (file <> " (InlayHint)") (mkIdeTestFs [copyDir "local-sig-lens"]) $ do
130+
testWithDummyPlugin (file <> " (InlayHint)") (mkIdeTestFs [copyDir "local-sig-inlay-hints"]) $ do
131131
doc <- openDoc (file ++ ".hs") "haskell"
132132
hints <- getInlayHints doc globalRange
133133
liftIO $ assert hints
@@ -138,7 +138,7 @@ createConfig on =
138138
A.object [ "plugin"
139139
A..= A.object [ "ghcide-type-lenses"
140140
A..= A.object [ "config"
141-
A..= A.object [ "whereInlayHintOn" A..= A.Bool on ]]]]
141+
A..= A.object [ "localBindingInlayHintOn" A..= A.Bool on ]]]]
142142

143143

144144
executeAllHints :: TextDocumentIdentifier -> Range -> Session ()

0 commit comments

Comments
 (0)