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:
Robert Helgesson 2024-09-08 09:55:05 +02:00
parent ec4c6928bb
commit 8a175a8913
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
39 changed files with 58 additions and 58 deletions

View file

@ -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')"
'';
};
}

View file

@ -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'"
'';
}