Skip to content

Commit

Permalink
1.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
travisjeffery committed Jan 22, 2014
1 parent afd3c3d commit 7fc565e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
7 changes: 7 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
1.17.1 / 2014-01-22
==================

* fix: expected messages in should.js (should.js#168)
* fix: expect errno global in node versions < v0.9.11 (#1111)
* fix: unreliable checkGlobals optimization (#1110)

1.17.0 / 2014-01-09
==================

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mocha",
"version": "1.17.0",
"version": "1.17.1",
"main": "mocha.js",
"ignore": [
"bin",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mocha",
"version": "1.17.0",
"version": "1.17.1",
"repo": "visionmedia/mocha",
"description": "simple, flexible, fun test framework",
"keywords": [
Expand Down
4 changes: 0 additions & 4 deletions mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -4518,10 +4518,6 @@ Runner.prototype.checkGlobals = function(test){
ok = ok.concat(test._allowedGlobals || []);
}

// check length - 2 ('errno' and 'location' globals)
if (isNode && 1 == ok.length - globals.length) return;
else if (2 == ok.length - globals.length) return;

if(this.prevGlobalsLength == globals.length) return;
this.prevGlobalsLength = globals.length;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mocha",
"version": "1.17.0",
"version": "1.17.1",
"description": "simple, flexible, fun test framework",
"keywords": [
"mocha",
Expand Down

0 comments on commit 7fc565e

Please sign in to comment.