Skip to content

Commit fed71a8

Browse files
committed
Accept broken call-hierarchy tests
1 parent a04bf44 commit fed71a8

File tree

1 file changed

+2
-2
lines changed
  • plugins/hls-call-hierarchy-plugin/test

1 file changed

+2
-2
lines changed

plugins/hls-call-hierarchy-plugin/test/Main.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,13 @@ prepareCallHierarchyTests =
166166
expected = mkCallHierarchyItemC "A" SkConstructor range selRange
167167
oneCaseWithCreate contents 1 13 expected
168168
, testGroup "type signature"
169-
[ testCase "next line" $ do
169+
[ knownBrokenForGhcVersions [GHC94] "type signature broken" $ testCase "next line" $ do
170170
let contents = T.unlines ["a::Int", "a=3"]
171171
range = mkRange 1 0 1 3
172172
selRange = mkRange 1 0 1 1
173173
expected = mkCallHierarchyItemV "a" SkFunction range selRange
174174
oneCaseWithCreate contents 0 0 expected
175-
, testCase "multi functions" $ do
175+
, knownBrokenForGhcVersions [GHC94] "type signature broken" $ testCase "multi functions" $ do
176176
let contents = T.unlines [ "a,b::Int", "a=3", "b=4"]
177177
range = mkRange 2 0 2 3
178178
selRange = mkRange 2 0 2 1

0 commit comments

Comments
 (0)