From c54eea2f090c47c137b998cbb82193f474ca4eff Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Thu, 4 Jan 2024 22:11:47 +0100 Subject: [PATCH] tests/{none-ls,efmls-configs}: disable cbfmt on darwin (broken) --- tests/test-sources/plugins/lsp/efmls-configs.nix | 12 ++++++++---- tests/test-sources/plugins/none-ls.nix | 4 +++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/tests/test-sources/plugins/lsp/efmls-configs.nix b/tests/test-sources/plugins/lsp/efmls-configs.nix index 8611a71438..e5501f5848 100644 --- a/tests/test-sources/plugins/lsp/efmls-configs.nix +++ b/tests/test-sources/plugins/lsp/efmls-configs.nix @@ -15,10 +15,14 @@ # Where tools is the option type representing the valid tools for this language toolOptions = (builtins.head options.setup.type.getSubModules).options; - brokenTools = [ - #Broken as of 16 of November 2023 - "phpstan" - ]; + brokenTools = + [ + #Broken as of 16 of November 2023 + "phpstan" + ] + # As of 2024-01-04, cbfmt is broken on darwin + # TODO: re-enable this test when fixed + ++ builtins.optional pkgs.stdenv.isDarwin "cbfmt"; unpackaged = [ diff --git a/tests/test-sources/plugins/none-ls.nix b/tests/test-sources/plugins/none-ls.nix index eb563edae7..60a54260fb 100644 --- a/tests/test-sources/plugins/none-ls.nix +++ b/tests/test-sources/plugins/none-ls.nix @@ -84,7 +84,9 @@ formatting = { alejandra.enable = true; black.enable = true; - cbfmt.enable = true; + # As of 2024-01-04, cbfmt is broken on darwin + # TODO: re-enable this test when fixed + cbfmt.enable = !pkgs.stenv.isDarwin; eslint.enable = true; eslint_d.enable = true; fantomas.enable = pkgs.stdenv.isLinux;