Files
Austin Horstman 3c3ede6ad8 tests: update YAML expectations for remarshal v2
Nixpkgs switched pkgs.formats.yaml to remarshal v2. Generated files now
start with a %YAML 1.1 directive and a --- document start, and multiline
strings use double-quoted escapes.

Only files written through yamlFormat.generate change. Modules that
declare the YAML type but write the file with builtins.toJSON keep their
current output.
2026-08-19 10:14:55 -05:00

28 lines
563 B
Nix

{
programs = {
gh.enable = true;
gh-dash = {
enable = true;
settings = {
prSections = [
{
title = "My Pull Requests";
filters = "is:open author:@me";
}
];
};
};
};
nmt.script = ''
assertFileExists home-files/.config/gh-dash/config.yml
assertFileContent home-files/.config/gh-dash/config.yml ${builtins.toFile "config-file.yml" ''
%YAML 1.1
---
prSections:
- filters: is:open author:@me
title: My Pull Requests
''}
'';
}