Fixup crontab tests

This commit is contained in:
Johannes Zellner
2024-05-15 15:17:42 +02:00
parent 77163cc1b2
commit a677dc3981
+1 -1
View File
@@ -439,7 +439,7 @@ describe('Apps', function () {
expect(safe.error.message).to.be('Invalid cron configuration at line 2');
safe(() => apps._parseCrontab('* * * * 13 command')); // bad pattern
expect(safe.error.message).to.be('Invalid cron pattern at line 1');
expect(safe.error.message).to.be('Invalid cron pattern at line 1: Field value (13) is out of range');
safe(() => apps._parseCrontab('*/1 * * *\t* ')); // no command
expect(safe.error.message).to.be('Invalid cron configuration at line 1');