diff --git a/test/commands/validate/threshold.test.ts b/test/commands/validate/threshold.test.ts index 1603b795a..39fa225e7 100644 --- a/test/commands/validate/threshold.test.ts +++ b/test/commands/validate/threshold.test.ts @@ -71,6 +71,8 @@ describe('Test validate threshold - using inline values', () => { '--templateInline', '"{compliance.min: 66}, {passed.critical.min: 0}, {failed.medium.min: 97}"', ]) expect(stdout).to.equal('') - expect(stderr).to.equal(' Error: failed.medium.min: Threshold not met. Number of received total failed controls (87) is less than your set threshold for the number of failed controls (97)\n') + expect(stderr).to.equal(' Error: failed.medium.min: Threshold not met. Number of received total\n' + + ' failed controls (87) is less than your set threshold for the number of\n' + + ' failed controls (97)\n') }) })