Skip to content

Commit 67d3070

Browse files
committed
Remove trailing whitespace from tests
1 parent 8838a4e commit 67d3070

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

test/dataTypeAssist.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,9 @@ assist.dataTypeSupport = function(connection, tableName, array, done) {
495495
result.rows[i].CONTENT.should.eql(array[result.rows[i].NUM]);
496496
else if( Buffer.isBuffer(result.rows[i].CONTENT) )
497497
result.rows[i].CONTENT.toString('hex').should.eql(array[result.rows[i].NUM].toString('hex'));
498-
else if (Object.prototype.toString.call(result.rows[i].CONTENT) === '[object Date]')
498+
else if (Object.prototype.toString.call(result.rows[i].CONTENT) === '[object Date]')
499499
result.rows[i].CONTENT.getTime().should.eql(array[result.rows[i].NUM].getTime());
500-
else
500+
else
501501
should.not.exist(new Error('Uncaught data type!'));
502502
}
503503
done();
@@ -576,9 +576,9 @@ function fetchRowsFromRS(rs, array, cb)
576576
rows[i].CONTENT.should.eql(array[rows[i].NUM]);
577577
else if( Buffer.isBuffer(rows[i].CONTENT) )
578578
rows[i].CONTENT.toString('hex').should.eql(array[rows[i].NUM].toString('hex'));
579-
else if (Object.prototype.toString.call(rows[i].CONTENT) === '[object Date]')
579+
else if (Object.prototype.toString.call(rows[i].CONTENT) === '[object Date]')
580580
rows[i].CONTENT.getTime().should.eql(array[rows[i].NUM].getTime());
581-
else
581+
else
582582
should.not.exist(new Error('Uncaught data type!'));
583583
}
584584
return fetchRowsFromRS(rs, array, cb);

test/dataTypeDate.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ describe('32. dataTypeDate.js', function() {
8585
it('32.1.1 works well with SELECT query', function(done) {
8686
var arrayLength = dates.length;
8787
for (var i = 0; i < arrayLength; i++) {
88-
if (dates[i].getMilliseconds() > 0)
89-
dates[i].setMilliseconds(0);
88+
if (dates[i].getMilliseconds() > 0)
89+
dates[i].setMilliseconds(0);
9090
}
91-
91+
9292
assist.dataTypeSupport(connection, tableName, dates, done);
9393
})
9494

test/list.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@
240240
13.1.10 meta data
241241
13.1.11 stream results with bulk size set
242242
13.1.12 stream stress test
243-
243+
244244
21. datatypeAssist.js
245245

246246
22. dataTypeChar.js

0 commit comments

Comments
 (0)