Skip to content

Commit f7b4b55

Browse files
authored
test: Add regression tests for #2403 (#2576)
1 parent aa5379d commit f7b4b55

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ghcide/test/exe/Main.hs

+9
Original file line numberDiff line numberDiff line change
@@ -4527,6 +4527,15 @@ localCompletionTests = [
45274527
,("abcdefgh", CiFunction, "abcdefgh", True, False, Nothing)
45284528
,("abcdefghi", CiFunction, "abcdefghi", True, False, Nothing)
45294529
],
4530+
completionTest
4531+
"type family"
4532+
["{-# LANGUAGE DataKinds, TypeFamilies #-}"
4533+
,"type family Bar a"
4534+
,"a :: Ba"
4535+
]
4536+
(Position 2 7)
4537+
[("Bar", CiStruct, "Bar", True, False, Nothing)
4538+
],
45304539
completionTest
45314540
"class method"
45324541
[

0 commit comments

Comments
 (0)