File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugins/hls-call-hierarchy-plugin/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,13 +114,13 @@ prepareCallHierarchyTests =
114114 [ testCase " 1" $ do
115115 let contents = T. unlines [" {-# LANGUAGE TypeFamilies #-}" , " data family A" ]
116116 -- Since GHC 9.10 the range also includes the family name (and its parameters if any)
117- range = mkRange 1 0 1 (if ghcVersion = = GHC910 then 13 else 11 )
117+ range = mkRange 1 0 1 (if ghcVersion > = GHC910 then 13 else 11 )
118118 selRange = mkRange 1 12 1 13
119119 expected = mkCallHierarchyItemT " A" SymbolKind_Function range selRange
120120 oneCaseWithCreate contents 1 12 expected
121121 , testCase " 2" $ do
122122 let contents = T. unlines [ " {-# LANGUAGE TypeFamilies #-}" , " data family A a" ]
123- range = mkRange 1 0 1 (if ghcVersion = = GHC910 then 15 else 11 )
123+ range = mkRange 1 0 1 (if ghcVersion > = GHC910 then 15 else 11 )
124124 selRange = mkRange 1 12 1 13
125125 expected = mkCallHierarchyItemT " A" SymbolKind_Function range selRange
126126 oneCaseWithCreate contents 1 12 expected
You can’t perform that action at this time.
0 commit comments