Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

fix broken suite integration test

Christopher Hiller0899fdda8a6a
diff --git a/test/integration/suite.spec.js b/test/integration/suite.spec.js
index cd379dc3..ae93491e 100644
--- a/test/integration/suite.spec.js
+++ b/test/integration/suite.spec.js
@@ -59,7 +59,7 @@ describe('suite returning a value', function() {
if (err) {
return done(err);
}
- var pattern = new RegExp('Deprecation Warning', 'g');
+ var pattern = new RegExp('Suites ignore return values', 'g');
var result = res.output.match(pattern) || [];
expect(result, 'to have length', 1);
done();