1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-05 16:41:04 +01:00

tests/opencode: expand tests for agents / commands

Include various tests for the agents and command file generation and
different ways of configuring it.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-09-16 21:29:05 -05:00
parent c104ee92bf
commit 53538044d9
12 changed files with 160 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{
programs.opencode = {
enable = true;
commands = {
test-command = ./test-command.md;
};
};
nmt.script = ''
assertFileExists home-files/.config/opencode/command/test-command.md
assertFileContent home-files/.config/opencode/command/test-command.md \
${./test-command.md}
'';
}