diff --git a/History.md b/History.md index 0b735e9..843ad11 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,12 @@ +1.0.3 / 2012-05-27 +================== + + * Point Travis badge to the right place. + * Make error message for eql/deep.equal more clear. + * Fix .not.deep.equal. + * contributors list + 1.0.2 / 2012-05-26 ================== diff --git a/README.md b/README.md index f117630..183cb1d 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,12 @@ For more information or to download plugins, view the [documentation](http://cha ### Contributors - commits: 462 + commits: 466 files : 44 authors: - 339 Jake Luer 73.4% - 66 Veselin Todorov 14.3% - 31 Domenic Denicola 6.7% + 340 Jake Luer 73.0% + 66 Veselin Todorov 14.2% + 34 Domenic Denicola 7.3% 5 Jo Liss 1.1% 5 Juliusz Gonera 1.1% 4 josher19 0.9% diff --git a/chai.js b/chai.js index 882738b..3566396 100644 --- a/chai.js +++ b/chai.js @@ -567,7 +567,7 @@ Object.defineProperty(Assertion.prototype, 'arguments', Assertion.prototype.equal = function (val) { var obj = flag(this, 'object'); if (flag(this, 'deep')) { - new Assertion(obj).to.eql(val); + return this.eql(val); } else { this.assert( val === obj @@ -595,8 +595,8 @@ Assertion.prototype.equal = function (val) { Assertion.prototype.eql = function (obj) { this.assert( util.eql(obj, flag(this, 'object')) - , 'expected #{this} to equal #{exp}' - , 'expected #{this} to not equal #{exp}' + , 'expected #{this} to deeply equal #{exp}' + , 'expected #{this} to not deeply equal #{exp}' , obj ); return this; @@ -1183,7 +1183,7 @@ var used = [] * Chai version */ -exports.version = '1.0.2'; +exports.version = '1.0.3'; /*! * Primary `Assertion` prototype diff --git a/lib/chai.js b/lib/chai.js index f6bc203..05205e5 100644 --- a/lib/chai.js +++ b/lib/chai.js @@ -11,7 +11,7 @@ var used = [] * Chai version */ -exports.version = '1.0.2'; +exports.version = '1.0.3'; /*! * Primary `Assertion` prototype diff --git a/package.json b/package.json index a3775de..836c44b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "Veselin Todorov ", "John Firebaugh " ], - "version": "1.0.2", + "version": "1.0.3", "repository": { "type": "git", "url": "https://github.com/chaijs/chai"