File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
plugins/hls-notes-plugin/test Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,9 @@ jobs:
240
240
name : Test hls-overloaded-record-dot-plugin test suite
241
241
run : cabal test hls-overloaded-record-dot-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-overloaded-record-dot-plugin --test-options="$TEST_OPTS"
242
242
243
-
243
+ - if : matrix.test
244
+ name : Test hls-notes-plugin test suite
245
+ run : cabal test hls-notes-plugin --test-options="$TEST_OPTS" || cabal test hls-notes-plugin --test-options="$TEST_OPTS"
244
246
245
247
test_post_job :
246
248
if : always()
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ gotoNoteTests = testGroup "Goto Note Definition"
23
23
defs <- getDefinitions doc (Position 3 41 )
24
24
liftIO $ do
25
25
fp <- canonicalizePath " NoteDef.hs"
26
- defs @?= InL (Definition (InL ( Location (filePathToUri fp) (Range (Position 5 9 ) (Position 5 9 ))) ))
26
+ defs @?= InL (Definition (InR [ Location (filePathToUri fp) (Range (Position 5 9 ) (Position 5 9 ))] ))
27
27
, testCase " no_note" $ runSessionWithServer def plugin testDataDir $ do
28
28
doc <- openDoc " NoteDef.hs" " haskell"
29
29
defs <- getDefinitions doc (Position 1 0 )
@@ -36,7 +36,7 @@ gotoNoteTests = testGroup "Goto Note Definition"
36
36
defs <- getDefinitions doc (Position 5 20 )
37
37
liftIO $ do
38
38
fp <- canonicalizePath " NoteDef.hs"
39
- defs @?= InL (Definition (InL ( Location (filePathToUri fp) (Range (Position 9 6 ) (Position 9 6 ))) ))
39
+ defs @?= InL (Definition (InR [ Location (filePathToUri fp) (Range (Position 9 6 ) (Position 9 6 ))] ))
40
40
]
41
41
42
42
testDataDir :: FilePath
You can’t perform that action at this time.
0 commit comments