nix-config/tests/neovim.nix

17 lines
351 B
Nix
Raw Normal View History

# TODO: Ensure that neovim config works without errors on startup
(import ./lib.nix) {
name = "neovim";
nodes.machine = { self, pkgs, ... }: {
imports = with self.nixosModules; [
2024-04-04 23:31:01 +02:00
system
shell
];
};
testScript = /* python */ ''
output = machine.succeed("echo 'Hello world'")
assert "Hello world" in output
'';
}