☕️ Classic, reliable, trusted test framework for Node.js and the browser
Update tests for newer versions of should.js
Tom Hughes2694d3017c81
diff --git a/package.json b/package.jsonindex cf5152da..34abf63b 100644--- a/package.json+++ b/package.json@@ -290,7 +290,7 @@"browserify": "10.2.4","coffee-script": "~1.8.0","eslint": "^1.2.1",- "should": "~4.0.0",+ "should": "~8.0.0","through2": "~0.6.5"},"files": [diff --git a/test/integration/helpers.js b/test/integration/helpers.jsindex e6483674..d63756c0 100644--- a/test/integration/helpers.js+++ b/test/integration/helpers.js@@ -140,7 +140,7 @@ module.exports = {// Ignore empty lines before/after diffreturn diffs.map(function(diff) {- return diff.slice(1, -2).join('\n');+ return diff.slice(1, -3).join('\n');});}};diff --git a/test/utils.js b/test/utils.jsindex efa6ca11..fcbb87c0 100644--- a/test/utils.js+++ b/test/utils.js@@ -56,9 +56,9 @@ describe('utils', function() {var parseQuery = utils.parseQuery;it('should get queryString and return key-value object', function() {parseQuery('?foo=1&bar=2&baz=3').should.eql({- foo: 1,- bar: 2,- baz: 3+ foo: '1',+ bar: '2',+ baz: '3'});parseQuery('?r1=^@(?!.*\\)$)&r2=m{2}&r3=^co.*').should.eql({