File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
plugins/hls-cabal-fmt-plugin/test Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11{-# LANGUAGE CPP #-}
22{-# LANGUAGE OverloadedStrings #-}
3- {-# LANGUAGE CPP #-}
43module Main
54 ( main
65 ) where
76
87import qualified Ide.Plugin.CabalFmt as CabalFmt
9- import System.Directory (findExecutable )
8+ import System.Directory (findExecutable )
109import System.FilePath
1110import Test.Hls
1211
@@ -36,10 +35,12 @@ cabalFmtPlugin = CabalFmt.descriptor mempty "cabal-fmt"
3635
3736tests :: CabalFmtFound -> TestTree
3837tests 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
4040 formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing )
4141
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
4344 formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing )
4445
4546 , 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