diff --git a/ghcide/test/exe/Main.hs b/ghcide/test/exe/Main.hs index 9e221a8e08..169e9922af 100644 --- a/ghcide/test/exe/Main.hs +++ b/ghcide/test/exe/Main.hs @@ -4527,6 +4527,15 @@ localCompletionTests = [ ,("abcdefgh", CiFunction, "abcdefgh", True, False, Nothing) ,("abcdefghi", CiFunction, "abcdefghi", True, False, Nothing) ], + completionTest + "type family" + ["{-# LANGUAGE DataKinds, TypeFamilies #-}" + ,"type family Bar a" + ,"a :: Ba" + ] + (Position 2 7) + [("Bar", CiStruct, "Bar", True, False, Nothing) + ], completionTest "class method" [