You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"module A where", "import qualified Control.Monad as M (join)", "f = M.joi"]
3517
+
, testGroup "Data constructor"
3518
+
[ completionCommandTest
3519
+
"not imported"
3520
+
["module A where", "import Text.Printf ()", "ZeroPad"]
3521
+
(Position24)
3522
+
"ZeroPad"
3523
+
["module A where", "import Text.Printf (FormatAdjustment (ZeroPad))", "ZeroPad"]
3524
+
, completionCommandTest
3525
+
"parent imported"
3526
+
["module A where", "import Text.Printf (FormatAdjustment)", "ZeroPad"]
3527
+
(Position24)
3528
+
"ZeroPad"
3529
+
["module A where", "import Text.Printf (FormatAdjustment (ZeroPad))", "ZeroPad"]
3530
+
, completionCommandTest
3531
+
"already imported"
3532
+
["module A where", "import Text.Printf (FormatAdjustment (ZeroPad))", "ZeroPad"]
3533
+
(Position24)
3534
+
"ZeroPad"
3535
+
["module A where", "import Text.Printf (FormatAdjustment (ZeroPad))", "ZeroPad"]
3536
+
]
3537
+
, testGroup "Record completion"
3538
+
[ completionCommandTest
3539
+
"not imported"
3540
+
["module A where", "import Text.Printf ()", "FormatParse"]
3541
+
(Position210)
3542
+
"FormatParse {"
3543
+
["module A where", "import Text.Printf (FormatParse (FormatParse))", "FormatParse"]
3544
+
, completionCommandTest
3545
+
"parent imported"
3546
+
["module A where", "import Text.Printf (FormatParse)", "FormatParse"]
3547
+
(Position210)
3548
+
"FormatParse {"
3549
+
["module A where", "import Text.Printf (FormatParse (FormatParse))", "FormatParse"]
3550
+
, completionCommandTest
3551
+
"already imported"
3552
+
["module A where", "import Text.Printf (FormatParse (FormatParse))", "FormatParse"]
3553
+
(Position210)
3554
+
"FormatParse {"
3555
+
["module A where", "import Text.Printf (FormatParse (FormatParse))", "FormatParse"]
3494
3556
]
3495
3557
],
3496
3558
-- we need this test to make sure the ghcide completions module does not return completions for language pragmas. this functionality is turned on in hls
0 commit comments