File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -36,3 +36,6 @@ listCompBind = [ succ c | c <- "abc" ]
36
36
multipleClause :: Bool -> Char
37
37
multipleClause True = ' t'
38
38
multipleClause False = ' f'
39
+
40
+ -- | Recognizable docs: kpqz
41
+ documented = True
Original file line number Diff line number Diff line change @@ -842,6 +842,7 @@ findDefinitionAndHoverTests = let
842
842
lclL33 = Position 33 22
843
843
mclL36 = Position 36 1 ; mcl = [mkR 36 0 36 14 ]
844
844
mclL37 = Position 37 1
845
+ docL40 = Position 40 1 ; doc = [ExpectHoverText [" Recognizable docs: kpqz" ]]
845
846
in
846
847
mkFindTests
847
848
-- def hover look expect
@@ -868,11 +869,12 @@ findDefinitionAndHoverTests = let
868
869
, test yes yes lclL33 lcb " listcomp lookup"
869
870
, test yes yes mclL36 mcl " top-level fn 1st clause"
870
871
, test yes yes mclL37 mcl " top-level fn 2nd clause #246"
872
+ , test no broken docL40 doc " documentation"
871
873
]
872
874
where yes, broken :: (TestTree -> Maybe TestTree )
873
875
yes = Just -- test should run and pass
874
876
broken = Just . (`xfail` " known broken" )
875
- -- no = const Nothing -- don't run this test at all
877
+ no = const Nothing -- don't run this test at all
876
878
877
879
pluginTests :: TestTree
878
880
pluginTests = testSessionWait " plugins" $ do
You can’t perform that action at this time.
0 commit comments