File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
plugins/hls-semantic-tokens-plugin/test Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ import System.FilePath
37
37
import Test.Hls (HasCallStack ,
38
38
PluginTestDescriptor ,
39
39
SMethod (SMethod_TextDocumentSemanticTokensFullDelta ),
40
- TestName , TestTree ,
41
- changeDoc ,
40
+ TestName , TestRunner ,
41
+ TestTree , changeDoc ,
42
42
defaultTestRunner ,
43
43
documentContents , fullCaps ,
44
44
goldenGitDiff ,
@@ -72,14 +72,14 @@ semanticTokensPlugin = Test.Hls.mkPluginTestDescriptor enabledSemanticDescriptor
72
72
}
73
73
}
74
74
75
- goldenWithHaskellAndCapsOutPut :: Pretty b => Config -> PluginTestDescriptor b -> TestName -> FS. VirtualFileTree -> FilePath -> String -> (TextDocumentIdentifier -> Session String ) -> TestTree
75
+ goldenWithHaskellAndCapsOutPut :: ( Pretty b ) => Config -> PluginTestDescriptor b -> TestName -> FS. VirtualFileTree -> FilePath -> String -> (TextDocumentIdentifier -> Session String ) -> TestTree
76
76
goldenWithHaskellAndCapsOutPut config plugin title tree path desc act =
77
77
goldenGitDiff title (FS. vftOriginalRoot tree </> path <.> desc) $
78
- runSessionWithServerInTmpDir config plugin tree $
79
- fromString <$> do
78
+ fromString <$> ( runSessionWithServerInTmpDir config plugin tree $
79
+ do
80
80
doc <- openDoc (path <.> " hs" ) " haskell"
81
81
void waitForBuildQueue
82
- act doc
82
+ act doc)
83
83
84
84
goldenWithSemanticTokensWithDefaultConfig :: TestName -> FilePath -> TestTree
85
85
goldenWithSemanticTokensWithDefaultConfig title path =
You can’t perform that action at this time.
0 commit comments