modular-services: make configdata test use assertFileContent

Signed-off-by: cinereal <cinereal@riseup.net>
This commit is contained in:
cinereal 2026-05-05 11:03:16 +02:00 committed by Robert Helgesson
parent f77079ee8a
commit db468b4822
2 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1,2 @@
[server]
port = 1234

View file

@ -9,7 +9,6 @@
};
nmt.script = ''
assertFileExists home-files/.config/system-services/demo/config.toml
assertFileContains home-files/.config/system-services/demo/config.toml 'port = 1234'
assertFileContent home-files/.config/home-services/demo/config.toml ${./config.toml}
'';
}