nix-config/tests/neovim.nix
Donovan Glover 41ce56718b
chore: Simplify tests
Removes the redundant `self`.
2024-04-05 11:53:40 -04:00

19 lines
407 B
Nix

# TODO: Ensure that neovim config works without errors on startup
let
inherit (builtins) attrValues;
in
(import ./lib.nix) {
name = "neovim";
nodes.machine = { nix-config, ... }: {
imports = attrValues {
inherit (nix-config.nixosModules) system shell;
};
};
testScript = /* python */ ''
output = machine.succeed("echo 'Hello world'")
assert "Hello world" in output
'';
}