tests: change quoting to match new Nixpkgs behavior
Fixes tests that are affected by <https://github.com/NixOS/nixpkgs/pull/333744>.
This commit is contained in:
parent
ec4c6928bb
commit
8a175a8913
39 changed files with 58 additions and 58 deletions
|
|
@ -19,8 +19,8 @@ with lib;
|
|||
|
||||
nmt.script = ''
|
||||
assertFileContains home-files/.zshrc "source ${pkgs.hello}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
assertFileContains home-files/.zshrc "ZSH_HIGHLIGHT_HIGHLIGHTERS+=('brackets' 'pattern' 'cursor')"
|
||||
assertFileContains home-files/.zshrc "ZSH_HIGHLIGHT_STYLES+=('comment' 'fg=#6c6c6c')"
|
||||
assertFileContains home-files/.zshrc "ZSH_HIGHLIGHT_HIGHLIGHTERS+=(brackets pattern cursor)"
|
||||
assertFileContains home-files/.zshrc "ZSH_HIGHLIGHT_STYLES+=(comment 'fg=#6c6c6c')"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@
|
|||
abbreviations=home-files/.config/zsh-abbr/user-abbreviations
|
||||
|
||||
assertFileExists $abbreviations
|
||||
assertFileContains $abbreviations "abbr 'ga'='git add'"
|
||||
assertFileContains $abbreviations "abbr ga='git add'"
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue