Skip to content

Commit

Permalink
Clean up test descriptions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 1, 2015
1 parent 8d799f1 commit 85dd0c1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ var runArrayTests = function () {

});

describe('Array#copyWithin', function () {
describe('#copyWithin()', function () {
if (!Array.prototype.hasOwnProperty('copyWithin')) {
return it('exists', function () {
expect(Array.prototype).to.have.property('copyWithin');
Expand Down Expand Up @@ -346,7 +346,7 @@ var runArrayTests = function () {
});
});

describe('Array#find', function () {
describe('#find()', function () {
if (!Array.prototype.hasOwnProperty('find')) {
return it('exists', function () {
expect(Array.prototype).to.have.property('find');
Expand Down Expand Up @@ -439,7 +439,7 @@ var runArrayTests = function () {
});
});

describe('Array#findIndex', function () {
describe('#findIndex()', function () {
if (!Array.prototype.hasOwnProperty('findIndex')) {
return it('exists', function () {
expect(Array.prototype).to.have.property('findIndex');
Expand Down Expand Up @@ -544,7 +544,7 @@ var runArrayTests = function () {
arrayIterator = [1, 2, 3].keys();
});

describe('ArrayIterator#next', function () {
describe('#next()', function () {
it('should work when applied to an ArrayIterator', function () {
expect(arrayIterator.next.apply(arrayIterator)).to.eql({value: 0, done: false});
expect(arrayIterator.next.apply(arrayIterator)).to.eql({value: 1, done: false});
Expand All @@ -558,7 +558,7 @@ var runArrayTests = function () {
});
});

describe('Array#keys', function () {
describe('#keys()', function () {
if (!Array.prototype.hasOwnProperty('keys')) {
return it('exists', function () {
expect(Array.prototype).to.have.property('keys');
Expand Down Expand Up @@ -629,7 +629,7 @@ var runArrayTests = function () {
});
});

describe('Array#values', function () {
describe('#values()', function () {
if (!Array.prototype.hasOwnProperty('values')) {
return it('exists', function () {
expect(Array.prototype).to.have.property('values');
Expand Down Expand Up @@ -700,7 +700,7 @@ var runArrayTests = function () {
});
});

describe('Array#entries', function () {
describe('#entries()', function () {
if (!Array.prototype.hasOwnProperty('entries')) {
return it('exists', function () {
expect(Array.prototype).to.have.property('entries');
Expand Down Expand Up @@ -777,7 +777,7 @@ var runArrayTests = function () {
});
});

describe('Array#fill', function () {
describe('#fill()', function () {
if (!Array.prototype.hasOwnProperty('fill')) {
return it('exists', function () {
expect(Array.prototype).to.have.property('fill');
Expand Down

0 comments on commit 85dd0c1

Please sign in to comment.