tests: allow testing assertions
By default tests are expected to produce no assertion. This also updates the existing tests to match.
This commit is contained in:
parent
bdee1be7b3
commit
ef4370bedc
22 changed files with 102 additions and 85 deletions
|
|
@ -19,10 +19,8 @@ with lib;
|
|||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.getmail/getmailhm@example.com
|
||||
assertFileContent home-files/.getmail/getmailhm@example.com ${
|
||||
./getmail-expected.conf
|
||||
}
|
||||
assertFileExists home-files/.getmail/getmailrc
|
||||
assertFileContent home-files/.getmail/getmailrc ${./getmail-expected.conf}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue