Skip to content

Commit

Permalink
Upgrade change-generators to get better string shrinking
Browse files Browse the repository at this point in the history
  • Loading branch information
sunesimonsen committed Jun 4, 2016
1 parent aa4d063 commit 8b8b2b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "Sune Simonsen",
"license": "MIT",
"devDependencies": {
"chance-generators": "1.12.0",
"chance-generators": "1.13.0",
"eslint": "2.7.0",
"eslint-config-onelint": "1.0.2",
"lodash.escape": "3.1.0",
Expand Down
10 changes: 5 additions & 5 deletions test/unexpected-check.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,20 +137,20 @@ describe('unexpected-check', function () {
});
}, 'to be valid for all', arrays);
}, 'to throw',
'Ran 152 iterations and found 20 errors\n' +
'Ran 33 iterations and found 20 errors\n' +
'counterexample:\n' +
'\n' +
' Generated input: [ \'#\' ]\n' +
' Generated input: [ \'(\' ]\n' +
'\n' +
' expected [ \'#\' ] to have items satisfying\n' +
' expected [ \'(\' ] to have items satisfying\n' +
' function (item) {\n' +
' expect(item, \'not to match\', /[!@#$%^&*()_+]/);\n' +
' }\n' +
'\n' +
' [\n' +
' \'#\' // should not match /[!@#$%^&*()_+]/\n' +
' \'(\' // should not match /[!@#$%^&*()_+]/\n' +
' //\n' +
' // #\n' +
' // (\n' +
' // ^\n' +
' ]');
});
Expand Down

0 comments on commit 8b8b2b2

Please sign in to comment.