Skip to content

Commit b611996

Browse files
committed
Ignore failing cabal-fmt test on windows
1 parent a65beb0 commit b611996

File tree

1 file changed

+3
-3
lines changed
  • plugins/hls-cabal-fmt-plugin/test

1 file changed

+3
-3
lines changed

plugins/hls-cabal-fmt-plugin/test/Main.hs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{-# LANGUAGE CPP #-}
22
{-# LANGUAGE OverloadedStrings #-}
3-
{-# LANGUAGE CPP #-}
43
module Main
54
( main
65
) where
76

87
import qualified Ide.Plugin.CabalFmt as CabalFmt
9-
import System.Directory (findExecutable)
8+
import System.Directory (findExecutable)
109
import System.FilePath
1110
import Test.Hls
1211

@@ -39,7 +38,8 @@ tests found = testGroup "cabal-fmt"
3938
[ cabalFmtGolden found "formats a simple document" "simple_testdata" "formatted_document" $ \doc -> do
4039
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing)
4140

42-
, cabalFmtGolden found "formats a document with expand:src comment" "commented_testdata" "formatted_document" $ \doc -> do
41+
, knownBrokenOnWindows "expand:src comment bug in cabal-fmt on windows" $
42+
cabalFmtGolden found "formats a document with expand:src comment" "commented_testdata" "formatted_document" $ \doc -> do
4343
formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing)
4444

4545
, cabalFmtGolden found "formats a document with lib information" "lib_testdata" "formatted_document" $ \doc -> do

0 commit comments

Comments
 (0)