From cde554f75d7436486073968e1a6c2d135b7aee6e Mon Sep 17 00:00:00 2001 From: Fendor Date: Thu, 3 Nov 2022 09:50:30 +0100 Subject: [PATCH] Disable test with comments on windows for cabal-fmt --- plugins/hls-cabal-fmt-plugin/test/Main.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/hls-cabal-fmt-plugin/test/Main.hs b/plugins/hls-cabal-fmt-plugin/test/Main.hs index 3335a4ff96d..695f5ba0b3a 100644 --- a/plugins/hls-cabal-fmt-plugin/test/Main.hs +++ b/plugins/hls-cabal-fmt-plugin/test/Main.hs @@ -42,7 +42,8 @@ tests found = testGroup "cabal-fmt" cabalFmtGolden found "formats a document with expand:src comment" "commented_testdata" "formatted_document" $ \doc -> do formatDoc doc (FormattingOptions 2 True Nothing Nothing Nothing) - , cabalFmtGolden found "formats a document with lib information" "lib_testdata" "formatted_document" $ \doc -> do + , knownBrokenOnWindows "Eats newlines between comments" $ + cabalFmtGolden found "formats a document with lib information" "lib_testdata" "formatted_document" $ \doc -> do formatDoc doc (FormattingOptions 10 True Nothing Nothing Nothing) ]