mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 04:51:08 +01:00
tests/zsh: add zprof test
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
196487c54f
commit
ae62fd8ad8
2 changed files with 16 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
zsh-history-substring-search = ./history-substring-search.nix;
|
zsh-history-substring-search = ./history-substring-search.nix;
|
||||||
zsh-plugins = ./plugins.nix;
|
zsh-plugins = ./plugins.nix;
|
||||||
zsh-prezto = ./prezto.nix;
|
zsh-prezto = ./prezto.nix;
|
||||||
|
zsh-zprof = ./zprof.nix;
|
||||||
zsh-session-variables = ./session-variables.nix;
|
zsh-session-variables = ./session-variables.nix;
|
||||||
zsh-syntax-highlighting = ./syntax-highlighting.nix;
|
zsh-syntax-highlighting = ./syntax-highlighting.nix;
|
||||||
zshrc-contents-priorities = ./zshrc-content-priorities.nix;
|
zshrc-contents-priorities = ./zshrc-content-priorities.nix;
|
||||||
|
|
|
||||||
15
tests/modules/programs/zsh/zprof.nix
Normal file
15
tests/modules/programs/zsh/zprof.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
config = {
|
||||||
|
programs.zsh = {
|
||||||
|
enable = true;
|
||||||
|
zprof.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
test.stubs.zsh = { };
|
||||||
|
|
||||||
|
nmt.script = ''
|
||||||
|
assertFileRegex home-files/.zshrc 'zmodload zsh/zprof'
|
||||||
|
assertFileRegex home-files/.zshrc '^zprof$'
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue