File tree 1 file changed +5
-4
lines changed
plugins/hls-cabal-fmt-plugin/test
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
{-# LANGUAGE CPP #-}
2
2
{-# LANGUAGE OverloadedStrings #-}
3
- {-# LANGUAGE CPP #-}
4
3
module Main
5
4
( main
6
5
) where
7
6
8
7
import qualified Ide.Plugin.CabalFmt as CabalFmt
9
- import System.Directory (findExecutable )
8
+ import System.Directory (findExecutable )
10
9
import System.FilePath
11
10
import Test.Hls
12
11
@@ -36,10 +35,12 @@ cabalFmtPlugin = CabalFmt.descriptor mempty "cabal-fmt"
36
35
37
36
tests :: CabalFmtFound -> TestTree
38
37
tests found = testGroup " cabal-fmt"
39
- [ cabalFmtGolden found " formats a simple document" " simple_testdata" " formatted_document" $ \ doc -> do
38
+ [ knownBrokenOnWindows " Eats newlines between comments" $
39
+ cabalFmtGolden found " formats a simple document" " simple_testdata" " formatted_document" $ \ doc -> do
40
40
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing )
41
41
42
- , cabalFmtGolden found " formats a document with expand:src comment" " commented_testdata" " formatted_document" $ \ doc -> do
42
+ , knownBrokenOnWindows " expand:src comment bug in cabal-fmt on windows" $
43
+ cabalFmtGolden found " formats a document with expand:src comment" " commented_testdata" " formatted_document" $ \ doc -> do
43
44
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing )
44
45
45
46
, cabalFmtGolden found " formats a document with lib information" " lib_testdata" " formatted_document" $ \ doc -> do
You can’t perform that action at this time.
0 commit comments