Unverified Commit b19131c8 authored by PerchunPak's avatar PerchunPak Committed by Austin Horstman
Browse files

luaModules.neotest: enable checks and fix

parent 22b46146
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -545,8 +545,7 @@ in
  });

  neotest  = prev.neotest.overrideAttrs(oa: {
    # A few tests fail for strange reasons on darwin
    doCheck = !stdenv.isDarwin;
    doCheck = true;
    nativeCheckInputs = oa.nativeCheckInputs ++ [
      final.nlua final.busted neovim-unwrapped
    ];
@@ -560,7 +559,7 @@ in
      export LUA_PATH="./lua/?.lua;./lua/?/init.lua;$LUA_PATH"
      nvim --headless -i NONE \
        --cmd "set rtp+=${vimPlugins.plenary-nvim}" \
        -c "PlenaryBustedDirectory tests/ {}"
        -c "PlenaryBustedDirectory tests/ {sequential = true}"

      runHook postCheck
      '';