File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
plugins/hls-alternate-number-format-plugin/test Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import qualified Ide.Plugin.Conversion as Conversion
13
13
import Language.LSP.Types (toEither )
14
14
import Language.LSP.Types.Lens (kind )
15
15
import Properties.Conversion (conversions )
16
- import System.FilePath ((</>) )
16
+ import System.FilePath ((<.>) , (< />) )
17
17
import Test.Hls
18
18
import Text.Regex.TDFA ((=~) )
19
19
@@ -73,7 +73,7 @@ test = testGroup "alternateNumberFormat" [
73
73
codeActionProperties :: TestName -> [(Int , Int )] -> ([CodeAction ] -> Session () ) -> TestTree
74
74
codeActionProperties fp locs assertions = testCase fp $ do
75
75
runSessionWithServer alternateNumberFormatPlugin testDataDir $ do
76
- openDoc (fp <> " .hs" ) " haskell" >>= codeActionsFromLocs >>= findAlternateNumberActions >>= assertions
76
+ openDoc (fp <. > " .hs" ) " haskell" >>= codeActionsFromLocs >>= findAlternateNumberActions >>= assertions
77
77
where
78
78
-- similar to codeActionTest
79
79
codeActionsFromLocs doc = concat <$> mapM (getCodeActions doc . uncurry pointRange) locs
You can’t perform that action at this time.
0 commit comments