test: [display] array test for mocha object diff

This commit is contained in:
Jake Luer 2012-12-21 15:01:15 -05:00
parent bc71605462
commit 4582d700b0

View file

@ -19,6 +19,8 @@ var deepObj2 = {
]
};
chai.Assertion.includeStack = true;
suite('object display', function () {
test('property', function () {
@ -29,4 +31,8 @@ suite('object display', function () {
deepObj.should.deep.equal(deepObj2);
});
test('deep equal array', function () {
[ 'one', 'two', 'three' ].should.deep.equal([ 'one', 'two', 'three', 'four' ]);
});
});