Skip to content

Commit 3cb4c63

Browse files
committed
[tests] eslint fixes
1 parent 84a7f3f commit 3cb4c63

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/testUtils.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
var should = require('should');
22
should.Assertion.add('haveSameItems', function(other) {
3-
this.params = { operator: 'to be have same items' };
3+
this.params = { operator: 'to be have same items' };
44

5-
this.obj.forEach(item => {
5+
this.obj.forEach(item => {
66
//both arrays should at least contain the same items
7-
other.should.containEql(item);
8-
});
9-
// both arrays need to have the same number of items
10-
this.obj.length.should.be.equal(other.length);
7+
other.should.containEql(item);
8+
});
9+
// both arrays need to have the same number of items
10+
this.obj.length.should.be.equal(other.length);
1111
});
1212

1313
if (typeof String.prototype.startsWith != 'function') {

0 commit comments

Comments
 (0)